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
d3239a41
Commit
d3239a41
authored
Oct 23, 1998
by
Bob Halley
Browse files
eliminate detach
parent
7c93964a
Changes
3
Hide whitespace changes
Inline
Side-by-side
lib/isc/pthreads/include/isc/thread.h
View file @
d3239a41
...
...
@@ -17,10 +17,6 @@ typedef isc_threadresult_t (*isc_threadfunc_t)(isc_threadarg_t);
((pthread_create((tp), NULL, (s), (a)) == 0) ? \
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
#define isc_thread_detach(t) \
((pthread_detach((t)) == 0) ? \
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
#define isc_thread_join(t, rp) \
((pthread_join((t), (rp)) == 0) ? \
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
...
...
lib/isc/win32/include/isc/thread.h
View file @
d3239a41
...
...
@@ -14,7 +14,6 @@ typedef isc_threadresult_t (WINAPI *isc_threadfunc_t)(isc_threadarg_t);
isc_result_t
isc_thread_create
(
isc_threadfunc_t
,
isc_threadarg_t
,
isc_thread_t
*
);
isc_result_t
isc_thread_join
(
isc_thread_t
,
isc_threadresult_t
*
);
isc_result_t
isc_thread_detach
(
isc_thread_t
);
#define isc_thread_self \
(unsigned long)GetCurrentThreadId
...
...
lib/isc/win32/thread.c
View file @
d3239a41
...
...
@@ -36,10 +36,3 @@ isc_thread_join(isc_thread_t thread, isc_threadresult_t *rp) {
return
(
ISC_R_SUCCESS
);
}
isc_result_t
isc_thread_detach
(
isc_thread_t
thread
)
{
/* XXX */
return
(
ISC_R_SUCCESS
);
}
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