Skip to content
Snippets Groups Projects
Commit 040900d8 authored by Per Hedbor's avatar Per Hedbor
Browse files

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

Rev: src/threads.h:1.29
parent fbb41489
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@
* 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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment