ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÎÊÒ»ÏÂÇý¶¯³ÌÐòÖÐpoll ·½·¨µÄÎÊÌâ

·¢²¼Ê±¼ä:2007-10-16 22:48:19À´Ô´:ºìÁª×÷Õß:eeko2005
×î½üÔÚ¿´Çý¶¯³ÌÐò·½ÃæµÄÊé,µ±ÎÒ¿´µ½poll·½·¨Ê±¾ÍÓÐЩ»ìÂÒ.ÎÒÀí½âΪ¶ÔÉ豸²éѯ,ÅжϿɶÁ»¹ÊÇ¿Éд.
µ«ÊÇÎÒ¿´Çý¶¯³ÌÐòpollº¯ÊýÀïÃæ,¶àÊýÊǵ÷ÓÃÁËpoll_wait,°ÑµÈ´ý¶ÓÁзŵ½ Ò»¸ö½Ð poll_table½á¹¹ÖÐ(²»ÖªÓÐûÓÐ˵´í),ÄÇÎÒ¾ÍÓôÃÆÔõô²»ÔÚpollÀïÃæÓвéѯÉ豸µÄ´úÂë.
ÁíÍâÎҸоõpoll Óëread , write ¶¼ÓйØϵ,·´ÕýºÜ»ìÂÒ.
²»ÖªÄÄλ¸ßÈË¿ÉÒÔ°ïÎÒÀíÒ»ÏÂ˼·,Ö¸µãÖ¸µã!
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ