Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joey Salazar
BIND
Commits
5d8f9bf9
Commit
5d8f9bf9
authored
Sep 05, 2018
by
Ondřej Surý
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always enable CALL_PTHREAD_SETCONCURRENCY as it is part of POSIX Threads
parent
fa048a9b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
16 deletions
+0
-16
acconfig.h
acconfig.h
+0
-6
config.h.in
config.h.in
+0
-6
lib/isc/pthreads/thread.c
lib/isc/pthreads/thread.c
+0
-4
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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