Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
5d8f9bf9
Commit
5d8f9bf9
authored
Sep 05, 2018
by
Ondřej Surý
Browse files
Always enable CALL_PTHREAD_SETCONCURRENCY as it is part of POSIX Threads
parent
fa048a9b
Changes
3
Hide whitespace changes
Inline
Side-by-side
acconfig.h
View file @
5d8f9bf9
...
...
@@ -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
...
...
config.h.in
View file @
5d8f9bf9
...
...
@@ -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
...
...
lib/isc/pthreads/thread.c
View file @
5d8f9bf9
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment