mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Always enable CALL_PTHREAD_SETCONCURRENCY as it is part of POSIX Threads
This commit is contained in:
parent
fa048a9b2c
commit
5d8f9bf935
3 changed files with 0 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue