From 040900d8b4a257a3236421f65f468b2510176e3e Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Tue, 10 Feb 1998 16:45:31 +0100
Subject: [PATCH] Fixed th_create_small for unix-threads, and fixe a comment..

Rev: src/threads.h:1.29
---
 src/threads.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/threads.h b/src/threads.h
index 45c9acd143..70ca56909e 100644
--- a/src/threads.h
+++ b/src/threads.h
@@ -14,9 +14,10 @@
 /*
  * Decide which type of threads to use
  *
- * UNIX_THREADS : Unix international threads
- * POSIX_THREADS : POSIX standard threads
+ * UNIX_THREADS      : Unix international threads
+ * POSIX_THREADS     : POSIX standard threads
  * SGI_SPROC_THREADS : SGI sproc() based threads
+ * NT_THREADS        : NT threads
  */
 
 #ifdef _UNIX_THREADS
@@ -113,7 +114,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_small(ID,fun,arg) thr_create(NULL,32768,fun,arg,THR_DAEMON,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()
 #define th_yield() thr_yield()
-- 
GitLab