

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://net-snmp.sourceforge.io/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AFAQ%3AAgent_12</id>
		<title>Template:FAQ:Agent 12 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://net-snmp.sourceforge.io/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AFAQ%3AAgent_12"/>
		<link rel="alternate" type="text/html" href="https://net-snmp.sourceforge.io/wiki/index.php?title=Template:FAQ:Agent_12&amp;action=history"/>
		<updated>2026-05-02T06:55:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>https://net-snmp.sourceforge.io/wiki/index.php?title=Template:FAQ:Agent_12&amp;diff=1656&amp;oldid=prev</id>
		<title>Dts12 at 19:51, 22 October 2006</title>
		<link rel="alternate" type="text/html" href="https://net-snmp.sourceforge.io/wiki/index.php?title=Template:FAQ:Agent_12&amp;diff=1656&amp;oldid=prev"/>
				<updated>2006-10-22T19:51:37Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;With care.&lt;br /&gt;
&lt;br /&gt;
As mentioned in the earlier &amp;quot;thread-safe&amp;quot; FAQ entry, the Net-SNMP&lt;br /&gt;
agent (including the AgentX subagent) has not been designed for&lt;br /&gt;
threaded operation.  In particular, it makes use of various global&lt;br /&gt;
variables without attempting to protect them against simultaneous&lt;br /&gt;
use.  This means that it is &amp;#039;&amp;#039;&amp;#039;NOT&amp;#039;&amp;#039;&amp;#039; safe to have SNMP or AgentX&lt;br /&gt;
related processing in two separate threads.  This also applies to&lt;br /&gt;
handling GET (and SET) processing in one thread, and generating traps&lt;br /&gt;
in another.  This is still vulnerable to the usual threading problems.&lt;br /&gt;
&lt;br /&gt;
However, as long as &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; of the SNMP-related activity is limited&lt;br /&gt;
to the one thread, then there should be no reason why this cannot&lt;br /&gt;
safely communicate with other threads within the same application,&lt;br /&gt;
using private (thread-safe) mechanisms.&lt;br /&gt;
&lt;br /&gt;
But in terms of the Net-SNMP-provided code, the agent (and AgentX&lt;br /&gt;
subagent) should &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; be regarded as thread-safe.&lt;/div&gt;</summary>
		<author><name>Dts12</name></author>	</entry>

	</feed>