Re: non-blocking file writes
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.