diff src/os/unix/ngx_thread.h @ 267:83205e0b5522

nginx-0.0.2-2004-02-24-20:31:46 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 24 Feb 2004 17:31:46 +0000
parents 5238e93961a1
children 7bb9562216ce
line wrap: on
line diff
--- a/src/os/unix/ngx_thread.h	Mon Feb 23 20:57:12 2004 +0000
+++ b/src/os/unix/ngx_thread.h	Tue Feb 24 17:31:46 2004 +0000
@@ -28,7 +28,7 @@
 
 #define NGX_MUTEX_LOCK_BUSY  0x80000000
 
-typedef struct {
+typedef volatile struct {
     ngx_atomic_t  lock;
     ngx_log_t    *log;
     int           semid;