diff options
author | Neal H. Walfield <neal@gnu.org> | 2007-11-20 18:38:00 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-04-07 23:10:27 +0200 |
commit | 71801fe4ab9e6e443327329ddf430d350d2d33e2 (patch) | |
tree | 9f875954a894fd6d9741bafb25989d8d2ff88955 /sysdeps/l4/pt-thread-start.c | |
parent | 6bba5c5394e7bb7b11e3d28a456b38ae77021d52 (diff) |
2007-11-20 Neal H. Walfield <neal@gnu.org>
* sysdeps/l4/pt-thread-dealloc.c: New file.
* Makefile.am (libpthread_a_SOURCES): Add pt-thread-dealloc.c.
* sysdeps/l4/hurd/pt-sysdep.h (PTHREAD_STACK_DEFAULT): Change to
2MB.
* sysdeps/l4/hurd/pt-sysdep.c (sched_yield): New function.
(sigprocmask): Likewise.
(init_routine): Only call __pthread_initialize once. Update
comments.
Diffstat (limited to 'sysdeps/l4/pt-thread-start.c')
-rw-r--r-- | sysdeps/l4/pt-thread-start.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/l4/pt-thread-start.c b/sysdeps/l4/pt-thread-start.c index 538d044..144c58b 100644 --- a/sysdeps/l4/pt-thread-start.c +++ b/sysdeps/l4/pt-thread-start.c @@ -27,8 +27,8 @@ int __pthread_thread_start (struct __pthread *thread) { - /* The main thread is already running of course. */ if (__pthread_num_threads == 1) + /* The main thread is already running of course. */ { assert (__pthread_total == 1); assert (l4_is_thread_equal (l4_myself (), thread->threadid)); |