• 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: non-blocking file writes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: non-blocking file writes


  • Subject: Re: non-blocking file writes
  • From: Thomas Harrington <email@hidden>
  • Date: Tue, 8 Jul 2003 16:07:24 -0600

On Tuesday, July 8, 2003, at 07:08 AM, Devon E Bowen wrote:

The UNIX select() call allows you to wait
for readability or writeability of any file descriptor. Seems strange to me
that this functionality gets lost in the Cocoa event loop. It's almost like
they are trying to prevent you from writing robust apps. 8-)

Well, you could always call -[NSFileHandle fileDescriptor], and then select() on that. :-) Or even write your own category on NSFileHandle to cover this.


--
Tom Harrington
email@hidden
_______________________________________________
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: 
 >Re: non-blocking file writes (From: Devon E Bowen <email@hidden>)

  • Prev by Date: Re: Panther; What happened to /usr/include
  • Next by Date: Re: Panther; What happened to /usr/include
  • Previous by thread: Re: non-blocking file writes
  • Next by thread: Re: non-blocking file writes
  • Index(es):
    • Date
    • Thread