• 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: pthread_t
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pthread_t


  • Subject: Re: pthread_t
  • From: Patrick Mahan <email@hidden>
  • Date: Mon, 06 Oct 2008 14:17:33 -0700

pthread_t is a 32-bit opaque data type for posix threads.  Under Mac OS X it is
defined (eventually) as a pointer to an _opaque_pthread_t which is a structure.
(see _types.h).

So you could use either %x, %p or %u to print it's value.

Patrick

Roland Silver presented these words - circa 10/6/08 12:31 PM->
What is a pthread_t? Specifically, how do I print one using:

pthread_t pt;
...
NSLog(@"pthread_t pt = %?", pt);

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


_______________________________________________
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: 
 >pthread_t (From: Roland Silver <email@hidden>)

  • Prev by Date: What happened to OSAScriptKit.ibplugin in 3.1.1. ?
  • Next by Date: Unit testing a Cocoa framework with XCode 3.1.1
  • Previous by thread: Re: pthread_t
  • Next by thread: What happened to OSAScriptKit.ibplugin in 3.1.1. ?
  • Index(es):
    • Date
    • Thread