Re: NSThread -setName:
Re: NSThread -setName:
- Subject: Re: NSThread -setName:
- From: John Mikros <email@hidden>
- Date: Thu, 8 Nov 2007 17:21:40 -0800
If the debugger doesn't display the thread name, then what is this
useful for?
On Nov 8, 2007, at 5:18 PM, Chris Parker wrote:
On Nov 8, 2007, at 4:41 PM, John Stiles wrote:
I noticed that NSThread now allows setting the name of a thread for
debugging purposes, a long overdue feature (Win32 has had this for
quite some time).
Is this functionality exposed at the Posix level? Our current
threading code uses pthreads and I wouldn't want to rewrite it all
just for names on threads unless I have to, but it's tempting
nonetheless…
It is not available at the pthread() APIs - we're doing this
ourselves in NSThread.
.chris
--
Chris Parker
Cocoa Frameworks
Apple Inc.
_______________________________________________
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:
@blizzard.com
This email sent to email@hidden
_______________________________________________
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