Re: Thread ID in crash log
Re: Thread ID in crash log
- Subject: Re: Thread ID in crash log
- From: Dave Dribin <email@hidden>
- Date: Wed, 17 Dec 2008 22:03:01 -0600
On Dec 17, 2008, at 7:37 PM, radj wrote:
I see. I'm not trying to be ungrateful (because I really am, thanks
for the
code), but calling CrashLogThreadID(pthread_t) might be too costly
for every
call to my custom debugLog(...) because there are alot all over the
code
(not the best practice, me thinks). But thanks to your intro to
task_threads(), I can follow the idea and try my own array of
threads. This
gives me something to start on! Appreciate it. =)
You could cache the thread ID in the pthread context or NSThread
dictionary.
-Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden