• 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: Cocoa objects in pthreads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Cocoa objects in pthreads
      • From: Chris Kane <email@hidden>
References: 
 >Cocoa objects in pthreads (From: Luke Bellandi <email@hidden>)

  • Prev by Date: Re: Changing "MyDocument" to another class
  • Next by Date: Re: Changing "MyDocument" to another class
  • Previous by thread: Re: Cocoa objects in pthreads
  • Next by thread: Re: Cocoa objects in pthreads
  • Index(es):
    • Date
    • Thread