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
591
Issues
591
List
Boards
Labels
Service Desk
Milestones
Merge Requests
113
Merge Requests
113
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
ISC Open Source Projects
BIND
Commits
8ee6a6af
Commit
8ee6a6af
authored
Apr 21, 2017
by
Evan Hunt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[master] fix portability issue
parent
8e12350a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lib/isc/nothreads/include/isc/thread.h
lib/isc/nothreads/include/isc/thread.h
+1
-1
lib/isc/pthreads/include/isc/thread.h
lib/isc/pthreads/include/isc/thread.h
+2
-2
No files found.
lib/isc/nothreads/include/isc/thread.h
View file @
8ee6a6af
...
...
@@ -20,7 +20,7 @@ void
isc_thread_setconcurrency
(
unsigned
int
level
);
void
isc_thread_setname
(
isc_thread_t
,
const
char
*
);
isc_thread_setname
(
isc_thread_t
thread
,
const
char
*
name
);
#define isc_thread_self() ((unsigned long)0)
#define isc_thread_yield() ((void)0)
...
...
lib/isc/pthreads/include/isc/thread.h
View file @
8ee6a6af
...
...
@@ -31,7 +31,7 @@ typedef isc_threadresult_t (*isc_threadfunc_t)(isc_threadarg_t);
typedef
pthread_key_t
isc_thread_key_t
;
isc_result_t
isc_thread_create
(
isc_threadfunc_t
,
isc_threadarg_t
,
isc_thread_t
*
);
isc_thread_create
(
isc_threadfunc_t
,
isc_threadarg_t
,
isc_thread_t
*
name
);
void
isc_thread_setconcurrency
(
unsigned
int
level
);
...
...
@@ -40,7 +40,7 @@ void
isc_thread_yield
(
void
);
void
isc_thread_setname
(
isc_thread_t
,
const
char
*
);
isc_thread_setname
(
isc_thread_t
thread
,
const
char
*
);
/* XXX We could do fancier error handling... */
...
...
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