Mercurial > hg > nginx
comparison src/event/modules/ngx_select_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 |
---|---|
417 "the maximum number of files " | 417 "the maximum number of files " |
418 "supported by select() is %ud", FD_SETSIZE); | 418 "supported by select() is %ud", FD_SETSIZE); |
419 return NGX_CONF_ERROR; | 419 return NGX_CONF_ERROR; |
420 } | 420 } |
421 | 421 |
422 #if (NGX_THREADS) | 422 #if (NGX_OLD_THREADS) |
423 | 423 |
424 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, | 424 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, |
425 "select() is not supported in the threaded mode"); | 425 "select() is not supported in the threaded mode"); |
426 return NGX_CONF_ERROR; | 426 return NGX_CONF_ERROR; |
427 | 427 |