On Tue, 22 Jun 2004 16:19:34 +0200 Rodolfo wrote: RG> On Sun, Jun 20, 2004 at 01:44:48PM -0400, Robert Story wrote: RG> > Use the delegated flag and either a separate thread or a periodic RG> > non-blocking read.
If you are gong to use threads, you need to read README.threads. The basic idea is that you can't use snmp resources in two threads. In this case, the thread that you start should only do raw data access, and pass the results back to the main thread (using IPC - shared memory, named pipe, etc). -- 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 sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders