comparison src/event/modules/ngx_poll_module.c @ 6112:8c79c506ea20

Removed NGX_OLD_THREADS from select and poll modules. These modules can't be compiled on win32.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 26 Mar 2015 14:20:07 +0300
parents 4652f8f26b12
children 75dbab4ea930
comparison
equal deleted inserted replaced
6111:537259db5af4 6112:8c79c506ea20
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_OLD_THREADS)
417
418 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0,
419 "poll() is not supported in the threaded mode");
420 return NGX_CONF_ERROR;
421
422 #else
423
424 return NGX_CONF_OK; 416 return NGX_CONF_OK;
425 417 }
426 #endif
427 }