• 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: kqueue on OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kqueue on OS X


  • Subject: Re: kqueue on OS X
  • From: Glen Low <email@hidden>
  • Date: Wed, 18 Feb 2004 08:39:33 +0800

Scott:

On 18/02/2004, at 8:23 AM, Scott Lamb wrote:

On Feb 17, 2004, at 6:01 PM, Glen Low wrote:
Now pipes and file descriptors seem dangerous to me, since they are not necessarily threadsafe (especially with Cocoa)

Now, this is definitely not true. Two threads should be able to talk to each other on opposite ends of the same pipe without problem. And Cocoa doesn't have to enter the picture - you can use the raw system calls.


According to:

http://developer.apple.com/documentation/Cocoa/Conceptual/ Multithreading/Tasks/foundation.html

It says facilities which are generally thread-unsafe are:

... NSPipe ...

I am unsure if the underlying BSD pipe implementation is threadsafe, I can't see this one way or another by googling.

Cheers, Glen Low


---
pixelglow software | simply brilliant stuff
www.pixelglow.com
_______________________________________________
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.

  • Prev by Date: Re: WebView not loading - Nib problem?
  • Next by Date: Re: initializing a Window Controller
  • Previous by thread: Re: WebView not loading - Nib problem?
  • Next by thread: binding selection in tableview to model
  • Index(es):
    • Date
    • Thread