Re: NSThread -setName:
Re: NSThread -setName:
- Subject: Re: NSThread -setName:
- From: Rosyna <email@hidden>
- Date: Thu, 8 Nov 2007 18:23:00 -0700
Looks to be just an "ivar" entry in NSThread. I
think if you want it in posix, you need to use
pthread_getspecific() or something. But it's
nothing like Windows' support of named threads.
(ie, you won't get love from gdb).
Ack, at 11/8/07, John Stiles said:
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
--
Sincerely,
Rosyna Keller
Technical Support/Carbon troll/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
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