Conrad Parker <[EMAIL PROTECTED]>
> yes, use select(2) [or poll(2)] -- allows you to check on multiple
> file descriptors simultaneously to see which are ready for
> reading/writing; then you go and deal with whichever ones are ready
> at the time; repeat.
apparently poll() is preferred over select().
That's not going to help the blocking IO though.
> Don't use threads if this is the only issue, and don't bother
> forking etc. either.
I reckon threads are best. It's also handy if you want to run
the app on a multi-cpu machine.
Dave.
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text