On Sat, 19 Jun 2004 10:27:58 +0200 Rodolfo wrote: RG> can an handler be blocked during a get/set by a read()/write() system RG> call?
yes. RG> For instance, if in the MODE_GET case I use a read() syscall to get a RG> variable value and it blocks the the whole agent blocks too? Right. But if you are an AgentX subagent, only the subagent will be blocked, not the main agent. RG> If so, which would be the correct solution? Use the delegated flag and either a separate thread or a periodic non-blocking read. -- Robert Story; NET-SNMP Junkie <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. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders