Commit d3239a41 authored by Bob Halley's avatar Bob Halley

eliminate detach

parent 7c93964a
......@@ -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)
......
......@@ -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
......
......@@ -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);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment