diff --git a/src/threads.h b/src/threads.h
index 70ca56909ea209195a6eae61c870cce92daf2ceb..deaacd99c699e08fea6fcd00891fa7d3462a9f88 100644
--- a/src/threads.h
+++ b/src/threads.h
@@ -113,7 +113,7 @@ extern pthread_attr_t small_pattr;
 
 #define th_setconcurrency(X) thr_setconcurrency(X)
 
-#define th_create(ID,fun,arg) thr_create(NULL,0,fun,arg,THR_DAEMON,ID)
+#define th_create(ID,fun,arg) thr_create(NULL,0,fun,arg,THR_DAEMON|THR_DETACHED,ID)
 #define th_create_small(ID,fun,arg) thr_create(NULL,32768,fun,arg,THR_DAEMON|THR_DETACHED,ID)
 #define th_exit(foo) thr_exit(foo)
 #define th_self() thr_self()