aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_thread_pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_thread_pool.c')
-rw-r--r--src/core/ngx_thread_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_thread_pool.c b/src/core/ngx_thread_pool.c
index 7fb0f7f8d..7bf90e958 100644
--- a/src/core/ngx_thread_pool.c
+++ b/src/core/ngx_thread_pool.c
@@ -207,7 +207,7 @@ ngx_thread_pool_exit_handler(void *data, ngx_log_t *log)
*lock = 0;
- pthread_exit(0);
+ pthread_exit(NULL);
}