Relating dtrace thread ids to Java threads
Relating dtrace thread ids to Java threads
- Subject: Relating dtrace thread ids to Java threads
- From: Paul Johnson <email@hidden>
- Date: Sat, 29 Aug 2009 11:17:47 +1200
The problem i'm having is that the thread id returned by curthread in the dtrace script is different from the result returned by the pthread_self() call that I make in a JNI method. The documentation says that curthread and tid are the same as that returned pthread_self() however I suspect that is a holdover from the solaris docs. Where does curthread come from and is there a way to get it using a method in userspace? is there a different way to relate the data? should I just try Solaris? I'm aware that this will probably be non-portable and likely to break if the kernel is changed. Paul Johnson email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden