[lug] Returning from select

Budyanto Himawan budyanto_himawan at yahoo.com
Thu May 6 00:22:17 MDT 2004


Hi,

Does anybody know what is the trigger that causes
a select system call to return?

Say I'm doing a select on a read fd set with 50ms.
I know if none of the fds in the set becomes readable
after 50ms, select returns 0.

If I have 4 fds and 1 becomes readable.
Would select immediately return or would it wait 
for 50 ms and then return however number of fds
readable at that time?

Thanks

=====
===========================
Budyanto Himawan
budyanto_himawan at yahoo.com
===========================


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 



More information about the LUG mailing list