Re: Custom data formatter for pthread_mutex_t?
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