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

mdounin at mdounin.ru mdounin at mdounin.ru
Wed Nov 23 14:07:07 UTC 2011


Author: mdounin
Date: 2011-11-23 14:07:06 +0000 (Wed, 23 Nov 2011)
New Revision: 4311

Log:
Fixed build without atomic operations.


Modified:
   trunk/src/core/ngx_shmtx.c

Modified: trunk/src/core/ngx_shmtx.c
===================================================================
--- trunk/src/core/ngx_shmtx.c	2011-11-23 13:55:38 UTC (rev 4310)
+++ trunk/src/core/ngx_shmtx.c	2011-11-23 14:07:06 UTC (rev 4311)
@@ -299,10 +299,10 @@
 }
 
 
-void
+ngx_uint_t
 ngx_shmtx_force_unlock(ngx_shmtx_t *mtx, ngx_pid_t pid)
 {
-    /* void */
+    return 0;
 }
 
 #endif



More information about the nginx-devel mailing list