• 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: NSThread as a wrapper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSThread as a wrapper (From: "A.M." <email@hidden>)

  • Prev by Date: Re: Finding out about all user level changes in NSTextView?
  • Next by Date: Re: Tab-stop filled with dots?
  • Previous by thread: NSThread as a wrapper
  • Next by thread: Re: Finding out about all user level changes in NSTextView?
  • Index(es):
    • Date
    • Thread