2009/9/1 Darshan Ghumare <[email protected]>: > If I want to invoke it as thread then how should I go about it?
If *all* of the SNMP-related processing will be in a single thread, then that's not really a problem. You'll just have to ensure that any data which is shared between the SNMP thread and the rest of your application is protected by suitable locks. If you are talking about having several sub-agent threads, then that's a very different matter. The Net-SNMP agent has not been designed for thread-safe operation, and it would require a fair amount of careful examination of the code to identify all of the vulnerabilities. We'd recommend anyone who was interested in tackling this to spend some time getting familiar with the existing code before starting such an undertaking. If you really need a multi-threaded agent, in a relatively short time span, then you probably need to consider some alternative agent toolkits. Dave ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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
