summaryrefslogtreecommitdiff
path: root/libpthread/sysdeps/l4/pt-thread-start.c
diff options
context:
space:
mode:
authorneal <neal>2007-11-20 18:37:59 +0000
committerneal <neal>2007-11-20 18:37:59 +0000
commit9106b8fbc5887f9caa826d7e30af95568084a43c (patch)
treec3f2cea4680523494ac8ee1d04eb8b4da56c3d6e /libpthread/sysdeps/l4/pt-thread-start.c
parent48f83a4e9fc7cdd7ef2b966a4d56b89a820d67a9 (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 'libpthread/sysdeps/l4/pt-thread-start.c')
-rw-r--r--libpthread/sysdeps/l4/pt-thread-start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/sysdeps/l4/pt-thread-start.c b/libpthread/sysdeps/l4/pt-thread-start.c
index 538d044..144c58b 100644
--- a/libpthread/sysdeps/l4/pt-thread-start.c
+++ b/libpthread/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));