Re: NSThread as a wrapper
Re: NSThread as a wrapper
- Subject: Re: NSThread as a wrapper
- From: Greg Hulands <email@hidden>
- Date: Sun, 27 Apr 2003 10:02:02 +1000
I don't know the exact call, but it has been posted on the list before,
just check cocoa.mamasam.com. I think you can just call pthread_self()
or something like that and it will return the current thread,
HtH,
Greg
On Sunday, April 27, 2003, at 09:21 AM, A.M. wrote:
I always just assumed an NSThread was a wrapper around pthreads. A
recent question on this list prompted me to look at NSThread.h and it
seems that the NSThread object doesn't have wrap a pthread_t unless
it's hidden behind a void*.
Assuming that NSThread wraps pthreads, does anyone know if it is
possible to extract the pthread_t? I would be happy to learn about any
tidbits of the internals of NSThreads. Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.