mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Always enable CALL_PTHREAD_SETCONCURRENCY as it is part of POSIX Threads
This commit is contained in:
@@ -17,12 +17,6 @@
|
||||
***/
|
||||
@TOP@
|
||||
|
||||
/**
|
||||
* define if pthread_setconcurrency() should be called to tell the
|
||||
* OS how many threads we might want to run.
|
||||
*/
|
||||
#undef CALL_PTHREAD_SETCONCURRENCY
|
||||
|
||||
/** define if flockfile() is available */
|
||||
#undef HAVE_FLOCKFILE
|
||||
|
||||
|
@@ -17,12 +17,6 @@
|
||||
*** it does not get installed.
|
||||
***/
|
||||
|
||||
/**
|
||||
* define if pthread_setconcurrency() should be called to tell the
|
||||
* OS how many threads we might want to run.
|
||||
*/
|
||||
#undef CALL_PTHREAD_SETCONCURRENCY
|
||||
|
||||
/** define if flockfile() is available */
|
||||
#undef HAVE_FLOCKFILE
|
||||
|
||||
|
@@ -68,11 +68,7 @@ isc_thread_create(isc_threadfunc_t func, isc_threadarg_t arg,
|
||||
|
||||
void
|
||||
isc_thread_setconcurrency(unsigned int level) {
|
||||
#if defined(CALL_PTHREAD_SETCONCURRENCY)
|
||||
(void)pthread_setconcurrency(level);
|
||||
#else
|
||||
UNUSED(level);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user