site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
David Alter