]> git.kaiwu.me - nginx.git/commitdiff
Removed NGX_OLD_THREADS from select and poll modules.
authorRuslan Ermilov <ru@nginx.com>
Thu, 26 Mar 2015 11:20:07 +0000 (14:20 +0300)
committerRuslan Ermilov <ru@nginx.com>
Thu, 26 Mar 2015 11:20:07 +0000 (14:20 +0300)
These modules can't be compiled on win32.

src/event/modules/ngx_poll_module.c
src/event/modules/ngx_select_module.c

index e48a8227ae3854fd1a48f17646ffc3be2426c53a..4370950c09ecdea5242cc2181809464bd854c960 100644 (file)
@@ -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
 }
index 46004e5fdf9ebafb0f1605c53883624fcc2db386..5a976bd926a6a05cae90a97080ae07404172e9ec 100644 (file)
@@ -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
 }