A version of this is in the following fork: https://bitbucket.org/gustafn/naviserver-connthreadqueue/changesets
So far, the competition on the pool mutex is quite high, but i think, it can be improved. Currently primarily the pool mutex is used for conn thread life-cycle management, and it is needed from the main/drivers/spoolers as well from the connection threads to update the idle/running/.. counters needed for controlling thread creation etc. Differentiating these mutexes should help. i have not addressed the termination signaling, but that's rather simple. -gustaf neumann On 28.10.12 03:08, Gustaf Neumann wrote: > i've just implemented lightweight version of the above (just > a few lines of code) by extending the connThread Arg > structure; .... ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel