diff options
Diffstat (limited to 'sysdeps/l4/pt-thread-alloc.c')
-rw-r--r-- | sysdeps/l4/pt-thread-alloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/l4/pt-thread-alloc.c b/sysdeps/l4/pt-thread-alloc.c index 00e99ff9..07784f5f 100644 --- a/sysdeps/l4/pt-thread-alloc.c +++ b/sysdeps/l4/pt-thread-alloc.c @@ -36,6 +36,10 @@ __pthread_thread_alloc (struct __pthread *thread) } else { + thread->threadid = pthread_pool_get_np (); + if (thread->threadid != l4_nilthread) + return 0; + #if 0 CORBA_Environment env; |