From: Ruslan Ermilov Date: Thu, 26 Mar 2015 11:20:07 +0000 (+0300) Subject: Removed NGX_OLD_THREADS from select and poll modules. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=bfd2db83a7ca68b3caed6cc2253a2aeb6d2f9b92;p=nginx.git Removed NGX_OLD_THREADS from select and poll modules. These modules can't be compiled on win32. --- diff --git a/src/event/modules/ngx_poll_module.c b/src/event/modules/ngx_poll_module.c index e48a8227a..4370950c0 100644 --- a/src/event/modules/ngx_poll_module.c +++ b/src/event/modules/ngx_poll_module.c @@ -413,15 +413,5 @@ ngx_poll_init_conf(ngx_cycle_t *cycle, void *conf) return NGX_CONF_OK; } -#if (NGX_OLD_THREADS) - - ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, - "poll() is not supported in the threaded mode"); - return NGX_CONF_ERROR; - -#else - return NGX_CONF_OK; - -#endif } diff --git a/src/event/modules/ngx_select_module.c b/src/event/modules/ngx_select_module.c index 46004e5fd..5a976bd92 100644 --- a/src/event/modules/ngx_select_module.c +++ b/src/event/modules/ngx_select_module.c @@ -419,15 +419,5 @@ ngx_select_init_conf(ngx_cycle_t *cycle, void *conf) return NGX_CONF_ERROR; } -#if (NGX_OLD_THREADS) - - ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, - "select() is not supported in the threaded mode"); - return NGX_CONF_ERROR; - -#else - return NGX_CONF_OK; - -#endif }