"Bob O'Neil" writes:
> What is the status of the project in terms of thread safety now and
> into the future?
Now, the v1/v2c code is thread safe. See the README.thread file for how
to utilize it. The v3 code and the agent code isn't, and someone would
need to do t
It is true that Net-SNMP is thread safe based on the current code base?
Online there is suggestions that this is not the case, specifically issued
associated with the USM security model and perhaps some underlying C
libraries.
What is the status of the project in terms of thread safety now and
It is true that Net-SNMP is thread safe based on the current code base?
Online there is suggestions that this is not the case, specifically issued
associated with the USM security model and perhaps some underlying C
libraries.
What is the status of the project in terms of thread safety now and
Working now, the problem was you need to pass the void pointer to
snmp_sess_synch_response(), not the session pointer.
T
On Fri, Apr 1, 2011 at 10:35 PM, th exterit wrote:
> I followed README.threads but it still kept tripping up on the
> corresponding snmp_sess_synch_response() function.
>
> I
I followed README.threads but it still kept tripping up on the corresponding
snmp_sess_synch_response() function.
I would be grateful if anyone would take a look at my code (edited for
brevity) and spot anything I'm doing wrong - http://pastebin.com/FxQ2AuCQ
Theres something about that "status =
Many thanks Dave, will give it a go.
On Fri, Apr 1, 2011 at 8:41 PM, Dave Shield wrote:
> On 1 April 2011 16:47, th exterit wrote:
> > Now, I've only just read that Net-SNMP isn't strictly thread safe.
> > Is there any way around this at all?
>
> Use the "Single Session" style of routines (s
On 1 April 2011 16:47, th exterit wrote:
> Now, I've only just read that Net-SNMP isn't strictly thread safe.
> Is there any way around this at all?
Use the "Single Session" style of routines (snmp_sess_*)
See README.threads for details
Dave
Hi there, sorry to bother you.
Currently trying to write a multithreaded application using net-snmp. Each
thread basically takes queries from a queue and executes them. However, I
found myself having to put a mutex around snmp_synch_response() as it
mustn't like simultaneous access. Now, I've o