You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pe...@wcenter.de on 2007/03/21 09:00:37 UTC
Re: Same thread for calls to Native methods
Hi Khurram,
As a "Pure Java" workaround, I would use a Singleton to collect work
orders from various servlet-threads. That singleton would create one
worker thread and feed it sequentially with work for the native code.
Regards,
Peter Henningsen
Senior Consultant
<<
Is it possible to configure Tomcat so that it spawns just one thread for
calling all the methods of native code (the native methods are called from
servlets)?
<<