Re: pthread_t
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>) |