• 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: NSFileHandle thread safe ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileHandle thread safe ?


  • Subject: Re: NSFileHandle thread safe ?
  • From: Finlay Dobbie <email@hidden>
  • Date: Wed, 14 Sep 2005 00:05:06 +0100

On 13/09/05, Alec Carlson <email@hidden> wrote:
> Now, when device data is read in the NSFileHandle background thread,
> NSFileHandle posts an NSFileHandleReadCompletionNotification notification.
> My question is, are these notifications executed in the context of the
> NSFileHandle background thread or are they executed off of the main run loop?

The documentation specifies that it is posted "to the client process's
run loop". By this it means your main run loop.

 -- Finlay
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSFileHandle thread safe ?
      • From: Alec Carlson <email@hidden>
References: 
 >NSFileHandle thread safe ? (From: Alec Carlson <email@hidden>)

  • Prev by Date: Re: NSView to NSBitmapRep Without an NSWindow?
  • Next by Date: Re: Launching another process, and knowing when it's loaded?
  • Previous by thread: Re: NSFileHandle thread safe ?
  • Next by thread: Re: NSFileHandle thread safe ?
  • Index(es):
    • Date
    • Thread