unix: remove unnecessary static var init
wq doesn't have to be initialized, init_once() takes care of that. Remove the initialization so it goes into .bss instead of .data.
This commit is contained in:
parent
fa11db905a
commit
99a8d4a8c2
@ -26,7 +26,7 @@ static uv_cond_t cond;
|
||||
static uv_mutex_t mutex;
|
||||
static uv_thread_t threads[4];
|
||||
static ngx_queue_t exit_message;
|
||||
static ngx_queue_t wq = { &wq, &wq };
|
||||
static ngx_queue_t wq;
|
||||
static volatile int initialized;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user