There is no bug notification on the bug track yet.

Kevin Miles ha scritto:
> Thanks. Sounds like the intention is that it's thread-safe but you found 
> a bug.
> 
> Can you recall the Bug ID? I can't find anything that matches your 
> description.
> 
> Kevin.
> --------------------------------------------------
> From: "Diego Billi" <[email protected]>
> Sent: Thursday, October 28, 2010 10:14 AM
> To: "Kevin Miles" <[email protected]>
> Cc: <[email protected]>
> Subject: Re: Are python bindings thread safe?
> 
>> Kevin Miles ha scritto:
>>> Are the python bindings for net-snmp thread safe, for versions 1 & 2c?
>>
>> I'm using python binding inside a H24 multi-threaded application (>200 
>> threads)
>> and everything is working fine. I'm using version 1 and 2c.
>> I tested SNMP version 3 too, but not so deeply.
>>
>> So, YES, in theory.
>>
>> Practically speaking, there are few points inside the bindings code
>> where low level error handling is
>> still performed with not-threadsafe API (i notified the problem, but
>> nobody correted the code, mah!).
>>
>> Sometimes when the application is performing a snmp walk and receives 
>> SIGTERM, SIGINTR,
>> or other signals (which could interrupt a system call), it could crash
>> with a core dump.
>>
>> Up to now, i fixed with an auto-respawn solution.
>>
>> This is my exerience.
>>
>>
>>>
>>> My guess would be "yes", but the README for the bindings doesn't say 
>>> either way. The net-snmp FAQ gives guidelines for using the library 
>>> in a thread-safe way, but nowhere can I find an indication of whether 
>>> the python bindings adhere to these guidelines.
>>>
>>> Apologies if this is this has been asked before - the archive Search 
>>> facility gives me a 403 at the moment.
>>>
>>> Thanks,
>>> Kevin. 
>>> ------------------------------------------------------------------------------
>>>  
>>>
>>> Nokia and AT&T present the 2010 Calling All Innovators-North America 
>>> contest
>>> Create new apps & games for the Nokia N8 for consumers in  U.S. and 
>>> Canada
>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in 
>>> marketing
>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi 
>>> Store http://p.sf.net/sfu/nokia-dev2dev
>>> _______________________________________________
>>> 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
>>
>>
> 


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
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