On 27.10.12 15:56, Gustaf Neumann wrote:
> Changing the notification structure (adding a
> connection-thread-queue and extra condition) is a relatively
> small change, compared to general redesign.
i've just implemented lightweight version of the above (just 
a few lines of code) by extending the connThread Arg 
structure; i have not handled the spooling and stopping 
server cases (e.g. NsWaitServer), but this looks promising 
and can be still optimized further. it runs already the 
regression test. When maxthreads connThread Arg structures 
are allocated per pool at start-time, one can iterate over 
these for the stopping cases to compensate for the needed 
Ns_CondBroadcasts. No additional thread is needed.

-gustaf neumann


------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to