* WebCit thread pool is no longer tied to the number of server sessions. MIN_WORKER_...
authorArt Cancro <ajc@citadel.org>
Mon, 24 May 2010 17:31:47 +0000 (17:31 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 24 May 2010 17:31:47 +0000 (17:31 +0000)
commit704407b01c6e6aa2ec71420d92158093011dc90f
tree7d9ce738e12376f798a7f6b82bed2091a7b31c21
parent12ff276e33d5664b889233798dc35c0f04b895a7
* WebCit thread pool is no longer tied to the number of server sessions.  MIN_WORKER_THREADS is also gone.  We now start with one worker thread.  The only condition which causes new worker threads to be spawned is when all threads are executing and none are blocking on accept().  Initially this happens rather quickly, until the ideal thread pool size is found.
webcit/context_loop.c
webcit/sysdep.c
webcit/webcit.h
webcit/webserver.c