]> git.kaiwu.me - nginx.git/commit
Thread pools: create threads in detached state.
authorPiotr Sikora <piotrsikora@google.com>
Mon, 15 Aug 2016 12:52:04 +0000 (05:52 -0700)
committerPiotr Sikora <piotrsikora@google.com>
Mon, 15 Aug 2016 12:52:04 +0000 (05:52 -0700)
commit14b1b6e10a75994a6001a3480901e62f43e05696
treed84b305fbfc330e640125d0927a323a4ded6b78c
parent78031177f41a8686f0402b3ec7240870bca314af
Thread pools: create threads in detached state.

This prevents theoretical resource leak, since those threads are never joined.

Found with ThreadSanitizer.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
src/core/ngx_thread_pool.c