Why myPid() and myTid() return the same value?
Locate in C:\android-sdk-windows\samples\android-8\ApiDemos\src\com\example\android\apis\app\ dir.
I add myPid() and myTid() in onCreate(), then i set a breakpoint at code System.out. I find pid and tid are the same value. I know the process id and thread id should not be the same in windows, Why myPid() and myTid() return the same value in android?
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
int pid;
int tid;
pid = android.os.Process.myPid();
tid = android.os.Process.myTid();
System.out.println(pid +" "+ tid);
setContentView(R.layout.messenger_service_binding);
相关推荐
The Signal and the Noise: Why So Many Predictions Fail — but Some Don"t
Mobi 格式 The Signal and the Noise: Why So Many Predictions Fail but Some Don"t Amazon Best Boo
Microsoft Word Secrets The Why and How of Getting Word to Do What You 无水印pdf
"Microsoft Word Secrets The Why and How of Getting Word to Do What You Want 是一本由Flavio Morgado编写的书籍,
The book of Why中文版1
《The Book of Why 中文版1》是一本深入探讨因果关系科学的著作,作者通过丰富的实例和理论,引领读者理解并掌握如何从数据中提取出真正的因果信息。
The_Book_of_Why__The_New_Science_of_Cause_and_Effect.mobi
A pioneer of artificial intelligence shows how the study of causality revolutionized science and the
Microsoft Word Secrets The Why and How of Getting Word to Do What You Want epub
Microsoft Word Secrets The Why and How of Getting Word to Do What You Want 英文epub


