comparison src/core/ngx_shmtx.c @ 4932:0fce5bb53b2d

Fixed location of debug message in ngx_shmtx_lock().
author Ruslan Ermilov <ru@nginx.com>
date Wed, 21 Nov 2012 14:23:26 +0000
parents 512c741fa841
children 74edc0ccf27a
comparison
equal deleted inserted replaced
4931:190fce68b6b5 4932:0fce5bb53b2d
115 if (err != NGX_EINTR) { 115 if (err != NGX_EINTR) {
116 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err, 116 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err,
117 "sem_wait() failed while waiting on shmtx"); 117 "sem_wait() failed while waiting on shmtx");
118 break; 118 break;
119 } 119 }
120
121 ngx_log_debug0(NGX_LOG_DEBUG_CORE, ngx_cycle->log, 0,
122 "shmtx awoke");
123 } 120 }
121
122 ngx_log_debug0(NGX_LOG_DEBUG_CORE, ngx_cycle->log, 0,
123 "shmtx awoke");
124 124
125 continue; 125 continue;
126 } 126 }
127 127
128 #endif 128 #endif