Re: Cocoa objects in pthreads
Re: Cocoa objects in pthreads
- Subject: Re: Cocoa objects in pthreads
- From: Finlay Dobbie <email@hidden>
- Date: Thu, 21 Feb 2002 19:13:43 +0000
On Wednesday, February 20, 2002, at 08:01 PM, Luke Bellandi wrote:
We've got an application that needs to use pthreads because we set the
thread policy and priority (otherwise we'd probably use NSThread.)
NSThread basically is a wrapper around pthreads. I think you should be
able to get the current thread after you detach an NSThread using the
standard pthread APIs and set the policy and priority that way. You
should probably use NSThread because that way threading is enabled in
various Foundation classes etc.
-- Finlay
_______________________________________________
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.