summaryrefslogtreecommitdiffstats
path: root/winsup/cygserver/bsd_mutex.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2017-03-24 16:18:26 +0100
committerCorinna Vinschen <corinna@vinschen.de>2017-03-24 16:18:26 +0100
commit0b73dba4de3fdadde499edfbc7ca9d9a01c11487 (patch)
tree03baebc7cd06a2b49185479ee98643b4c3a986cb /winsup/cygserver/bsd_mutex.cc
parent838eaf6674b1350888b9803290fbf17628ac32ec (diff)
downloadcygnal-0b73dba4de3fdadde499edfbc7ca9d9a01c11487.tar.gz
cygnal-0b73dba4de3fdadde499edfbc7ca9d9a01c11487.tar.bz2
cygnal-0b73dba4de3fdadde499edfbc7ca9d9a01c11487.zip
cygserver: raise number of worker threads on demand
The number of threads in the worker pool is fixed so far. This is a problem in XSI IPC scenarions with an unknown number of consumers. It doesn't make sense to make the pool very big for a start, but when the need arises, we need to make sure we can serve the request even if all other worker threads are in a wait state. This patch changes threaded_queue to just add another worker thread if all current workers are busy. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygserver/bsd_mutex.cc')
0 files changed, 0 insertions, 0 deletions