From 48fef6654cc90e05004648423cb5dd7c6f7770f0 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 24 Feb 2004 17:31:46 +0000 Subject: nginx-0.0.2-2004-02-24-20:31:46 import --- src/os/unix/ngx_thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os/unix/ngx_thread.h') diff --git a/src/os/unix/ngx_thread.h b/src/os/unix/ngx_thread.h index ce305deb7..9637fda85 100644 --- a/src/os/unix/ngx_thread.h +++ b/src/os/unix/ngx_thread.h @@ -28,7 +28,7 @@ typedef pid_t ngx_tid_t; #define NGX_MUTEX_LOCK_BUSY 0x80000000 -typedef struct { +typedef volatile struct { ngx_atomic_t lock; ngx_log_t *log; int semid; -- cgit v1.2.3