Welcome! Log In Create A New Profile

Advanced

[nginx] Removed NGX_OLD_THREADS from select and poll modules.

Ruslan Ermilov
April 16, 2015 04:04PM
details: http://hg.nginx.org/nginx/rev/8c79c506ea20
branches:
changeset: 6112:8c79c506ea20
user: Ruslan Ermilov <ru@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
}

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Removed NGX_OLD_THREADS from select and poll modules.

Ruslan Ermilov 420 April 16, 2015 04:04PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 122
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready