Mercurial > hg > nginx-quic
comparison src/event/modules/ngx_poll_module.c @ 6016:457ec43dd8d5
Renamed NGX_THREADS to NGX_OLD_THREADS because of deprecation.
It's mostly dead code and the original idea of worker threads has been rejected.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 04 Mar 2015 18:26:25 +0300 |
parents | 3f5f0ab59b35 |
children | 466bd63b63d1 |
comparison
equal
deleted
inserted
replaced
6015:e11a8e7e8e0c | 6016:457ec43dd8d5 |
---|---|
411 | 411 |
412 if (ecf->use != ngx_poll_module.ctx_index) { | 412 if (ecf->use != ngx_poll_module.ctx_index) { |
413 return NGX_CONF_OK; | 413 return NGX_CONF_OK; |
414 } | 414 } |
415 | 415 |
416 #if (NGX_THREADS) | 416 #if (NGX_OLD_THREADS) |
417 | 417 |
418 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, | 418 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, |
419 "poll() is not supported in the threaded mode"); | 419 "poll() is not supported in the threaded mode"); |
420 return NGX_CONF_ERROR; | 420 return NGX_CONF_ERROR; |
421 | 421 |