diff options
Diffstat (limited to 'src/libthread/create.c')
-rw-r--r-- | src/libthread/create.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libthread/create.c b/src/libthread/create.c index a8647f94..b63fee44 100644 --- a/src/libthread/create.c +++ b/src/libthread/create.c @@ -155,6 +155,7 @@ _newproc(void (*f)(void *arg), void *arg, uint stacksize, char *name, int grp, i else *_threadpq.tail = p; _threadpq.tail = &p->next; + if(_threadprocs == 1) _threadmultiproc(); _threadprocs++; |