> From: Boris Schäling [mailto:[EMAIL PROTECTED]]
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Hugo Duncan
> > [...]
> > * a multiplexing library should cope with:
> >   files,
> 
> How should files be supported by a multiplexing library? In Unix/Linux
> file
> access never blocks? The man page of select() says: "File descriptors
> associated with regular files always select true for ready to read, ready
> to
> write, and error conditions."

Note man says "regular files" - there are lots of interesting special files that don't 
always report ready - I/O devices, pipes etc. Also, I think it would be a bad idea to 
assume that select is the be all and end all of how the socket/file/whatever ready to 
handler dispatching can be implemented. It ought to be possible to replace a select 
based dispatcher with one based on async I/O or some other exotic scheme.

Regards
Darryl

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to