[AGENT++] NO THREADS
Frank Fock
fock at agentpp.com
Fri Jul 8 00:13:47 CEST 2005
Hi Karl,
You can simply subclass Mib and override the process_request(..) method.
There will be still a ThreadPool created, but you can delete/not use it.
Hope this helps.
Best regards,
Frank
Karl Abicht wrote:
>Hi,
>
>not defining _NO_THREADS enables locking for the resources around v3MP.
>But, unfortunately it also enable Mib::process_request() to create a threads
>for each request.
>
>Is it possible to make the resources of v3MP thread-safe and do not spawn a
>thread for each request ?
>
>In our environment is it not allowed to start any threads after the
>startup-phase is done.
>
>What do you think, is it OK to modify just Mib::process_request() to obtain
>this behavior ?
>
>
>Thanks,
>
>Karl
>
>
>
More information about the AGENTPP
mailing list