Hi,
as title,
I want to ***create a thread in a reloadable module*** for receiving fifo
messages which will indicate what trap to be generated and sent.
But I also need to use "killall -HUP snmpd" to reload snmpd.conf.
The dynamic module will be reloaded again and again, and the thread seems to be
*created again and again*.
I use "ps" to check the processes, and I find that there are getting more and
more snmpd processes after I killall snmpd. (They should be the threads I
created.)
Is it a bad idea that create a thread in a reloadable module?
How could resolve this?
Or I should not try to create a thread in a reloadable module at all?
Thanks,
永鈦鑫 iTAS Corporation
新竹市水源街75號
NO. 75,Shuiyuan St., Hsinchu City, Taiwan, R.O.C.
Tel:03-5716099 Ext.1208
E-mail:[email protected]
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders