What's required for a non-threaded AgentX++ subagent?
James Brokenbek
jbrokenbek____celion.com
Tue Apr 29 01:00:36 CEST 2003
Thanks for the feedback, Frank. I was able to get the subagent working,
but I used quite a few hacks to do so. I may go back later and check
out the ThreadPool approach you suggested. --James
> -----Original Message-----
> From: Frank Fock [mailto:Frank.Fock____t-online.de]
> Sent: Monday, April 28, 2003 5:44 PM
> To: James Brokenbek
> Cc: agentpp-dl____agentpp.com
> Subject: Re: What's required for a non-threaded AgentX++ subagent?
>
>
> James,
>
> Theoretically, it is possible to implement a
> single-threaded AgentX++ subagent. However with
> the current version, a couple of code modifications
> will be needed. Since the master agent relies on
> a multi-threaded environment, you will have to
> separate any master specific code from the AgentX++
> library and remove it.
>
> I will provide the necessary modifications in the
> next AgentX++ release on macro definition basis.
> The necessary Makefiles will also be provided.
>
> As a quick workaround, you could also use the multi-threaded
> library and reduce the ThreadPool size to one. You will
> then use POSIX threads but, the subagent will behave as
> if it was compiled without threads (single-threaded).
>
> Hope this helps.
>
> Best regards,
> Frank
More information about the AGENTPP
mailing list