Thread number
Thread number
- Subject: Thread number
- From: David Alter <email@hidden>
- Date: Mon, 19 Mar 2007 13:35:05 -0700
My apologies if this is too basic of a question. I have not had much
success in finding an answer searching the archives.
I want to get the thread number for a pthread. When I say the thread
number, I'm looking for the same thread number that gdb would use
when selecting threads to debug. I want the thread number to be part
of the information I log.
I can get pthread_t easily but how do I then the thread number out of
that. Or do I need to look somewhere else for this information.
to get pThread_t ...
pthread_t thread = pthread_self();
thanks for the help
-dave
_______________________________________________
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