• 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: Cameron Hayne <email@hidden>
  • Date: Tue, 08 Jul 2003 13:46:09 -0400

On 8/7/03 9:08 AM, "Devon E Bowen" <email@hidden> 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.

Note that you are not required to use the Cocoa-level file handling. You can
use CoreFoundation methods or even the usual BSD system calls.

You might be interested in my sample program "TestEvent"
( http://hayne.net/MacDev/TestEvent/ )
which illustrates how to break up the opaque NSApplicationMain function into
its component parts in order to gain more control over the handling of
events in a Cocoa program. It does BSD-level socket handling.

But please do file that bug report about the missing Cocoa functionality. It
would be nice to be able to do it all in Cocoa.

--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
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: Cannot declare variables in the middle anymore
  • Next by Date: Re: NSString to int (or double) conversion
  • Previous by thread: Re: non-blocking file writes
  • Next by thread: Re: non-blocking file writes
  • Index(es):
    • Date
    • Thread