diff options
author | Valentin Bartenev <vbart@nginx.com> | 2014-09-01 18:20:03 +0400 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2014-09-01 18:20:03 +0400 |
commit | 2a81e0556611188a1b9b3e1240a06928dcebc1a2 (patch) | |
tree | 59f0296dff877b77b7f22c0c5955f31014d3c164 /src/os/unix/ngx_channel.c | |
parent | 3ca3f609cb7d9bc5576bf9fb77998cf110b688cb (diff) | |
download | nginx-2a81e0556611188a1b9b3e1240a06928dcebc1a2.tar.gz nginx-2a81e0556611188a1b9b3e1240a06928dcebc1a2.zip |
Events: removed broken thread support from posted events.
It's mostly dead code. And the idea of thread support for this task has
been deprecated.
Diffstat (limited to 'src/os/unix/ngx_channel.c')
-rw-r--r-- | src/os/unix/ngx_channel.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/os/unix/ngx_channel.c b/src/os/unix/ngx_channel.c index 8e9069660..1efa0667c 100644 --- a/src/os/unix/ngx_channel.c +++ b/src/os/unix/ngx_channel.c @@ -216,13 +216,6 @@ ngx_add_channel_event(ngx_cycle_t *cycle, ngx_fd_t fd, ngx_int_t event, rev->log = cycle->log; wev->log = cycle->log; -#if (NGX_THREADS) - rev->lock = &c->lock; - wev->lock = &c->lock; - rev->own_lock = &c->lock; - wev->own_lock = &c->lock; -#endif - rev->channel = 1; wev->channel = 1; |