Re: Thread-safe patch for Perl SNMP XS glue

2008-04-15 Thread Thomas Anders
Chris Coyle wrote: > Example code is attached (test_for_snmplist). The behavior I would see > previous to the patch was that all threads but one would hang waiting > for a response PDU, presumably because the Traditional API synch call > collects all the return information from any active SNMP ses

Thread-safe patch for Perl SNMP XS glue

2008-04-15 Thread Chris Coyle
Greetings All, This started when I needed to (with relative swiftness) whip up a threaded snmp poller using getbulk operations to pull interface stats off a large number of devices. And while I'm toying with the idea of porting it to C, I suspect there may be some desire in the community for thre