Re: Setting thread name for debugger
Re: Setting thread name for debugger
- Subject: Re: Setting thread name for debugger
- From: Wade Tregaskis <email@hidden>
- Date: Wed, 24 Feb 2010 10:49:47 -0800
>> I am trying to get my threads' names to show up in the thread pop-up in
>> Xcode's debugger, but it isn't working
>
> I think you need to use pthread_setname_np(). IIRC, it's also 10.6+.
Indeed pthread_setname_np and -[NSThread setName:] are orthogonal. Performance and debug tools only know about the former. That we have these two mechanisms that aren't synchronised is a known and unfortunate issue.
Wade
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden