[nginx] svn commit: r4933 - trunk/src/core

ru at nginx.com ru at nginx.com
Wed Nov 21 14:23:27 UTC 2012


Author: ru
Date: 2012-11-21 14:23:26 +0000 (Wed, 21 Nov 2012)
New Revision: 4933
URL: http://trac.nginx.org/nginx/changeset/4933/nginx

Log:
Fixed location of debug message in ngx_shmtx_lock().


Modified:
   trunk/src/core/ngx_shmtx.c

Modified: trunk/src/core/ngx_shmtx.c
===================================================================
--- trunk/src/core/ngx_shmtx.c	2012-11-21 01:40:11 UTC (rev 4932)
+++ trunk/src/core/ngx_shmtx.c	2012-11-21 14:23:26 UTC (rev 4933)
@@ -117,11 +117,11 @@
                                   "sem_wait() failed while waiting on shmtx");
                     break;
                 }
-
-                ngx_log_debug0(NGX_LOG_DEBUG_CORE, ngx_cycle->log, 0,
-                               "shmtx awoke");
             }
 
+            ngx_log_debug0(NGX_LOG_DEBUG_CORE, ngx_cycle->log, 0,
+                           "shmtx awoke");
+
             continue;
         }
 



More information about the nginx-devel mailing list