From: Gustaf N. <ne...@wu...> - 2012-10-29 12:41:23
|
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; .... |