diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/crypto/c_threads.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/c_threads.h b/src/crypto/c_threads.h index 3457738b3..d84f7977e 100644 --- a/src/crypto/c_threads.h +++ b/src/crypto/c_threads.h @@ -65,6 +65,6 @@ #define CTHR_THREAD_RETURN return NULL #define CTHR_THREAD_CREATE(thr, func, arg) (pthread_create(&thr, NULL, func, arg) == 0) #define CTHR_THREAD_JOIN(thr) pthread_join(thr, NULL) -#define CTHR_THREAD_CLOSE(thr) +#define CTHR_THREAD_CLOSE(thr) pthread_detach(thr) #endif |
