2
0
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:
Ondřej Surý
2018-09-05 13:39:47 +02:00
parent fa048a9b2c
commit 5d8f9bf935
3 changed files with 0 additions and 16 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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