2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

eliminate detach

This commit is contained in:
Bob Halley 1998-10-23 23:51:09 +00:00
parent 7c93964aaf
commit d3239a41d1
3 changed files with 0 additions and 12 deletions

View File

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

View File

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

View File

@ -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);
}