thread-safe support of snmpd

This is a discussion on thread-safe support of snmpd within the SNMP Coders forums, part of the Networking and Network Related category; Hi, I want to use snmpd to develop an application. I use callback mechanism(SNMP_CALLBACK_LIBRARY and SNMP_CALLBACK_SESSION_INIT) to let snmpd ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-28-2005
 
Posts: n/a
Default thread-safe support of snmpd

Hi,
I want to use snmpd to develop an application.

I use callback mechanism(SNMP_CALLBACK_LIBRARY and
SNMP_CALLBACK_SESSION_INIT) to let snmpd create a
thread which will listen user defined events and
update the global cache or generate traps according to
the analysis of these events. The global cache is user
defined and it's used in the MIB handlers.

Since there are at least two threads running in
snmpd: the main thread which handles SNMP requests and
the event listening thread, we must make sure snmpd
could run thread-safely.

But the online documents of net-snmp say net-snmp is
not fully thread safe.

So how about the current thread-safe status of
net-snmp? And if net-snmp is still not thread-safe,
how should I do to make my application thread-safe? I
have already read the FAQ and README.thread, but I
want to know some further reference or advice to
achieve my goal. And what README.thread says is still
valid now?

Thanks in advance for your kindly help

__________________________________________________ _______
Do You Yahoo!?
注册世界一流品质的雅虎免费电邮
http://cn.rd.yahoo.com/mail_cn/tag/1...ail.yahoo.com/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:14 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0