• 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: Dave Camp <email@hidden>
  • Date: Thu, 16 Aug 2007 16:54:57 -0700

On Aug 15, 2007, at 7:05 AM, Cem Karan wrote:

Thank you both.  Peter, I agree with you that as a function, this would be extremely useful.  In a way, I'm kind of surprised that the POSIX spec doesn't have it.  Dave, you're right that I can probably download the source and write up my own pthread_mutex_state().  I managed to get past that part of my code already though, and right now don't have time to look into it.  If I do get time in the future though, I think I'll see if I can contribute it to the Darwin project; I suspect I'm not the only one that could use such a function.


I wasn't suggesting a function, but instead getting the debugger access to the struct layout and just writing a Xcode debugger formatter string (you just type those in the summary field for things it can't figure out on it's own). That would not disturb the current thread state assuming the debugger just needs to display a field from the struct and not run code in your apps context.

Dave
 _______________________________________________
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: 
 >Re: Custom data formatter for pthread_mutex_t? (From: Cem Karan <email@hidden>)

  • Prev by Date: Re: Where to post new requirement/feature? (was Re: How to Run more than one executable at the same time)
  • Next by Date: About Xcode Project Templates [was: How do start from scratch?]
  • Previous by thread: Re: Custom data formatter for pthread_mutex_t?
  • Next by thread: RE: Custom data formatter for pthread_mutex_t?
  • Index(es):
    • Date
    • Thread