Re: Threading and Net-SNMP

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Net-SNMP
Message-ID <20050812183938.12f58910@aud>
On Thu, 11 Aug 2005 16:47:35 -0400 [email protected] wrote:
CRC> I'm still having trouble finding my illegal instruction error and I've
CRC> gotten to thinking about threads.  I have a multi-threaded program that
CRC> sends traps from one thread and acts as a sub-agent in another thread. 
CRC> Traps are asychronous and don't require any kind of session or state so
CRC> this is all safe, right?

That has not been established. Basically, except for the single-session API in
worker threads, any other use of threads is untested, unsupported, and not
recommended. The supported method would be to use IPC to another process.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.