Commit 31b349d0 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

pullup:

 729.  [port]          pthread_setconcurrency() needs to be called on Solaris.
parent 470a973e
--- 9.1.1rc1 released --- --- 9.1.1rc1 released ---
729. [port] pthread_setconcurrency() needs to be called on Solaris.
727. [port] Work around OS bug where accept() succeeds but 727. [port] Work around OS bug where accept() succeeds but
fails to fill in the peer address of the accepted fails to fill in the peer address of the accepted
connection, by treating it as an error rather than connection, by treating it as an error rather than
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: task.c,v 1.78.2.1 2001/01/09 22:49:25 bwelling Exp $ */ /* $Id: task.c,v 1.78.2.2 2001/02/07 22:36:20 gson Exp $ */
/* /*
* Principal Author: Bob Halley * Principal Author: Bob Halley
...@@ -1083,6 +1083,7 @@ isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers, ...@@ -1083,6 +1083,7 @@ isc_taskmgr_create(isc_mem_t *mctx, unsigned int workers,
manager_free(manager); manager_free(manager);
return (ISC_R_NOTHREADS); return (ISC_R_NOTHREADS);
} }
isc_thread_setconcurrency(workers);
#else /* ISC_PLATFORM_USETHREADS */ #else /* ISC_PLATFORM_USETHREADS */
manager->refs = 0; manager->refs = 0;
taskmgr = manager; taskmgr = manager;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment