diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2017-01-20 21:14:18 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2017-01-20 21:14:18 +0300 |
commit | 855f4b1cca65df09857944d0c0a7324fc66313a4 (patch) | |
tree | 73ae6d5e2f694e178d5ce353773340bfbe2de951 /src/os/unix/ngx_thread_cond.c | |
parent | 7ca4b6743d3bcbce1d2a1f024af406afe3c26025 (diff) | |
download | nginx-855f4b1cca65df09857944d0c0a7324fc66313a4.tar.gz nginx-855f4b1cca65df09857944d0c0a7324fc66313a4.zip |
Removed pthread mutex / conditional variables debug messages.
These messages doesn't seem to be needed in practice and only make
debugging logs harder to read.
Diffstat (limited to 'src/os/unix/ngx_thread_cond.c')
-rw-r--r-- | src/os/unix/ngx_thread_cond.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/os/unix/ngx_thread_cond.c b/src/os/unix/ngx_thread_cond.c index f5246966a..2ad51b809 100644 --- a/src/os/unix/ngx_thread_cond.c +++ b/src/os/unix/ngx_thread_cond.c @@ -16,8 +16,6 @@ ngx_thread_cond_create(ngx_thread_cond_t *cond, ngx_log_t *log) err = pthread_cond_init(cond, NULL); if (err == 0) { - ngx_log_debug1(NGX_LOG_DEBUG_CORE, log, 0, - "pthread_cond_init(%p)", cond); return NGX_OK; } @@ -33,8 +31,6 @@ ngx_thread_cond_destroy(ngx_thread_cond_t *cond, ngx_log_t *log) err = pthread_cond_destroy(cond); if (err == 0) { - ngx_log_debug1(NGX_LOG_DEBUG_CORE, log, 0, - "pthread_cond_destroy(%p)", cond); return NGX_OK; } @@ -50,8 +46,6 @@ ngx_thread_cond_signal(ngx_thread_cond_t *cond, ngx_log_t *log) err = pthread_cond_signal(cond); if (err == 0) { - ngx_log_debug1(NGX_LOG_DEBUG_CORE, log, 0, - "pthread_cond_signal(%p)", cond); return NGX_OK; } @@ -66,9 +60,6 @@ ngx_thread_cond_wait(ngx_thread_cond_t *cond, ngx_thread_mutex_t *mtx, { ngx_err_t err; - ngx_log_debug1(NGX_LOG_DEBUG_CORE, log, 0, - "pthread_cond_wait(%p) enter", cond); - err = pthread_cond_wait(cond, mtx); #if 0 @@ -76,8 +67,6 @@ ngx_thread_cond_wait(ngx_thread_cond_t *cond, ngx_thread_mutex_t *mtx, #endif if (err == 0) { - ngx_log_debug1(NGX_LOG_DEBUG_CORE, log, 0, - "pthread_cond_wait(%p) exit", cond); return NGX_OK; } |