Re: snmp agentx as thread

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Tue, 10 Feb 2009 15:19:05 -0800, Anton Krivin <[email protected]> said:

AK> I put the code of standard agentx sample into the run() function of my
AK> class that derives from Thread - which I generally used in couple
AK> other applications, reasonably simple class.
AK> If I have the agentx to run in the background my thread class ends up
AK> blocking my main, if I run it with background = 0, it works as
AK> expected.

Though I've heard of people properly threading the agent into a separate
thread and I have personal thoughts and plans for making parts of the
agent more thread safe (but no time or money to spend on the project),
we've always said that threading isn't supported...

-- 
Wes Hardaker
Sparta, Inc.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
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.