aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_thread.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-03-19 13:00:48 +0300
committerRuslan Ermilov <ru@nginx.com>2015-03-19 13:00:48 +0300
commitafe1fcffaae50a0b56555635c9b4debba0ee72df (patch)
tree4b7f29ce1f38d1d06e1b335f41859082a7996e7a /src/os/unix/ngx_thread.h
parent20d07074e3d1cd9069fd786aa4861a51a44f45b5 (diff)
downloadnginx-afe1fcffaae50a0b56555635c9b4debba0ee72df.tar.gz
nginx-afe1fcffaae50a0b56555635c9b4debba0ee72df.zip
Thread pools: fixed the waiting tasks accounting.
Behave like POSIX semaphores. If N worker threads are waiting for tasks, at least that number of tasks should be allowed to be put into the queue.
Diffstat (limited to 'src/os/unix/ngx_thread.h')
0 files changed, 0 insertions, 0 deletions