[nginx] Removed NGX_OLD_THREADS from select and poll modules.
Ruslan Ermilov
ru at nginx.com
Thu Apr 16 20:02:12 UTC 2015
details: http://hg.nginx.org/nginx/rev/8c79c506ea20
branches:
changeset: 6112:8c79c506ea20
user: Ruslan Ermilov <ru at nginx.com>
date: Thu Mar 26 14:20:07 2015 +0300
description:
Removed NGX_OLD_THREADS from select and poll modules.
These modules can't be compiled on win32.
diffstat:
src/event/modules/ngx_poll_module.c | 10 ----------
src/event/modules/ngx_select_module.c | 10 ----------
2 files changed, 0 insertions(+), 20 deletions(-)
diffs (38 lines):
diff -r 537259db5af4 -r 8c79c506ea20 src/event/modules/ngx_poll_module.c
--- a/src/event/modules/ngx_poll_module.c Thu Mar 26 14:15:17 2015 +0300
+++ b/src/event/modules/ngx_poll_module.c Thu Mar 26 14:20:07 2015 +0300
@@ -413,15 +413,5 @@ ngx_poll_init_conf(ngx_cycle_t *cycle, v
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
}
diff -r 537259db5af4 -r 8c79c506ea20 src/event/modules/ngx_select_module.c
--- a/src/event/modules/ngx_select_module.c Thu Mar 26 14:15:17 2015 +0300
+++ b/src/event/modules/ngx_select_module.c Thu Mar 26 14:20:07 2015 +0300
@@ -419,15 +419,5 @@ ngx_select_init_conf(ngx_cycle_t *cycle,
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
}
More information about the nginx-devel
mailing list