• 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: Custom data formatter for pthread_mutex_t?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom data formatter for pthread_mutex_t?


  • Subject: Re: Custom data formatter for pthread_mutex_t?
  • From: Peter Mulholland <email@hidden>
  • Date: Tue, 14 Aug 2007 22:47:13 +0100

Hello Cem,

Tuesday, August 14, 2007, 3:05:24 PM, you wrote:

> I'm debugging some multi-threaded code that I've written, and
> suddenly realized that it would be very handy to be able to see the
> state of my locks in the debugger.  However, I have no idea how to do
> this within XCode.  pthread_mutex_trylock() will potentially affect
> how my program runs (although, in truth, running everything under a
> debugger is going to affect how it runs anyways) but I want to see if
> anyone else has any good ideas.

pthread_mutex_t is an opaque handle on any system that has pthreads.
it's contents is always unknown.

What you're suggesting would be useful though... in a function would
be even more useful.. like pthread_mutex_state().

--
Best regards,
 Peter                            mailto:email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: Custom data formatter for pthread_mutex_t?
      • From: Dave Camp <email@hidden>
References: 
 >Custom data formatter for pthread_mutex_t? (From: Cem Karan <email@hidden>)

  • Prev by Date: Re: Debuging included files ???
  • Next by Date: Re: Custom data formatter for pthread_mutex_t?
  • Previous by thread: Custom data formatter for pthread_mutex_t?
  • Next by thread: Re: Custom data formatter for pthread_mutex_t?
  • Index(es):
    • Date
    • Thread