[ee122] fd_sets in select()

Daniel Killebrew dank at berkeley.edu
Sun Sep 23 13:51:07 PDT 2007



Ben Wang wrote:
> Hi all,
> I was wondering if the read set and write set for the select() call 
> can be the same set. 
Yes they can.
> Also when do we need the except set? Thanks!
>
If you want your thread thats sleeping on select to be woken up if an 
exception occurs on one or more file handles.

Daniel
> -- 
> cheers
>
> Ben Wang
> ------------------------------------------------------------------------
>
> _______________________________________________
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122
>   


More information about the ee122 mailing list