mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Removed NGX_OLD_THREADS from select and poll modules.
These modules can't be compiled on win32.
This commit is contained in:
parent
64c5df4b62
commit
bfd2db83a7
@ -413,15 +413,5 @@ ngx_poll_init_conf(ngx_cycle_t *cycle, void *conf)
|
|||||||
return NGX_CONF_OK;
|
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;
|
return NGX_CONF_OK;
|
||||||
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
@ -419,15 +419,5 @@ ngx_select_init_conf(ngx_cycle_t *cycle, void *conf)
|
|||||||
return NGX_CONF_ERROR;
|
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;
|
return NGX_CONF_OK;
|
||||||
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user