• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSThread -setName:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSThread -setName:


  • Subject: Re: NSThread -setName:
  • From: John Stiles <email@hidden>
  • Date: Thu, 8 Nov 2007 17:18:42 -0800

On Nov 8, 2007, at 5:15 PM, Ken Ferry wrote:

On Nov 8, 2007 4:41 PM, John Stiles <email@hidden> 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…

No, it's an NSThread level concept. There's a request out for a name at the posix level.

When I saw "for debugging purposes," I mistakenly assumed that this means that the debugger would show the name.


OK, I'm still waiting then… maybe in 10.6 :(

_______________________________________________

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


References: 
 >NSThread -setName: (From: John Stiles <email@hidden>)
 >Re: NSThread -setName: (From: "Ken Ferry" <email@hidden>)

  • Prev by Date: Re: NSThread -setName:
  • Next by Date: Re: NSThread -setName:
  • Previous by thread: Re: NSThread -setName:
  • Next by thread: Re: NSThread -setName:
  • Index(es):
    • Date
    • Thread