Igor Bak wrote:
> I use snmp api in my multithreading application.
> Each session has its own thread and makes repeat calls to a separate OID.
> Sometimes I need to reconfigure threads without relaunching whole
> application.
> I.e. only terminating and restarting threads. After each restarting I
> see about 12 kB memory leak for each thread.
> I append the thread function.
> What did I forget to clean?
> Many thanks for any idea.
> 
> P.S. I use traditional API instead of single API while application fails
> while compiling with the single API

I didn't see any attachment, but I'm surprised your approach works at
all. Net-SNMP's SNMPv3 support is known to not be thread-safe and it'd
be highly non-trivial to change that.


+Thomas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to