Branch: Tag:

1998-02-10

1998-02-10 15:45:31 by Per Hedbor <ph@opera.com>

Fixed th_create_small for unix-threads, and fixe a comment..

Rev: src/threads.h:1.29

14: Inside #if defined(_REENTRANT)
  /*    * 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:   #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()