• 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: Setting thread name for debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting thread name for debugger


  • Subject: Re: Setting thread name for debugger
  • From: Ken Thomases <email@hidden>
  • Date: Thu, 25 Feb 2010 16:43:29 -0600

On Feb 24, 2010, at 4:17 PM, Wade Tregaskis wrote:

>> I also find it annoying that pthread_setname_np() doesn't take a
>> pthread_t as parameter, like on other OSes.  In most of the code I have,
>> this complicates things.
>
> And is one of the reasons why -[NSThread setName:] doesn't imply pthread_setname_np, since the former can be called on any NSThread while the latter cannot.
>
> I suggest filing a bug report about pthread_setname_np asking for a variant that works on any pthread_t.  I don't recall off hand if there's a reason why that would be problematic, but it's worth raising the issue in any case.

If it works for you, you might suggest that a pthread_attr_setname_np would also suffice.  It might be easier for Apple to implement.

Regards,
Ken

 _______________________________________________
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

References: 
 >Setting thread name for debugger (From: Matt Gough <email@hidden>)
 >Re: Setting thread name for debugger (From: "Sean McBride" <email@hidden>)
 >Re: Setting thread name for debugger (From: Wade Tregaskis <email@hidden>)
 >Re: Setting thread name for debugger (From: "Sean McBride" <email@hidden>)
 >Re: Setting thread name for debugger (From: Wade Tregaskis <email@hidden>)

  • Prev by Date: Re: sqlite3 documentation
  • Next by Date: How to debug SenTest-based unit tests?
  • Previous by thread: Re: Setting thread name for debugger
  • Next by thread: 10.6 Debug & Profile Libraries?
  • Index(es):
    • Date
    • Thread