diff options
Diffstat (limited to 'src/os/unix/ngx_thread.h')
-rw-r--r-- | src/os/unix/ngx_thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/unix/ngx_thread.h b/src/os/unix/ngx_thread.h index 8a02880bb..0b065d8ec 100644 --- a/src/os/unix/ngx_thread.h +++ b/src/os/unix/ngx_thread.h @@ -7,6 +7,8 @@ #if (NGX_THREADS) +#define ngx_thread_volatile volatile + #if (NGX_USE_RFORK) #include <sys/ipc.h> @@ -96,6 +98,8 @@ extern ngx_int_t ngx_threaded; #else /* !NGX_THREADS */ +#define ngx_thread_volatile + #define ngx_log_tid 0 #define TID_T_FMT "%d" |