don't put threads in a detached state
This commit is contained in:
parent
03fe6dd658
commit
7a507a0cee
1 changed files with 0 additions and 1 deletions
|
|
@ -53,7 +53,6 @@ lumiera_threadpool_init(void)
|
|||
|
||||
//TODO: configure each pools' pthread_attrs appropriately
|
||||
pthread_attr_init (&threadpool.pool[i].pthread_attrs);
|
||||
pthread_attr_setdetachstate (&threadpool.pool[i].pthread_attrs, PTHREAD_CREATE_DETACHED);
|
||||
//cancel...
|
||||
|
||||
lumiera_mutex_init (&threadpool.pool[i].lock,"pool of threads", &NOBUG_FLAG (threadpool));
|
||||
|
|
|
|||
Loading…
Reference in a new issue