diff options
Diffstat (limited to 'src/os/unix/ngx_thread.h')
-rw-r--r-- | src/os/unix/ngx_thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |