From 1b9134194c2df393c81791a41cbdd09a17521013 Mon Sep 17 00:00:00 2001 From: Per Hedbor <ph@opera.com> Date: Fri, 13 Feb 1998 03:26:22 +0100 Subject: [PATCH] =?UTF-8?q?Numera=20=C3=A4r=20alla=20tr=C3=A5dar=20med=20T?= =?UTF-8?q?HR=5FDETACHED?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rev: src/threads.h:1.30 --- src/threads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/threads.h b/src/threads.h index 70ca56909e..deaacd99c6 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() -- GitLab