On Mon, 27 Mar 2006 11:41:34 -0800 David wrote:
DK> The basic idea is that we need to expire the fd_sets returned from
DK> select() if we have reason to believe that the bits may no longer be
DK> correct.  If an external handler calls
DK> unregister_{read|write|except}fd() while we are processing pending
DK> fd's we need to stop processing immediately.  The unregistered file
DK> descriptor may have been allocated for a different purpose.  In any
DK> case the read/write/except status returned by select is now stale.
DK> We must call select again.

Why not continue processing other fds? Instead of using a single boolean
value, use another fdset for finer grained control.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to