summaryrefslogtreecommitdiff
path: root/sysdeps/l4/pt-thread-halt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/l4/pt-thread-halt.c')
-rw-r--r--sysdeps/l4/pt-thread-halt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/l4/pt-thread-halt.c b/sysdeps/l4/pt-thread-halt.c
index ea97eea0..991123c2 100644
--- a/sysdeps/l4/pt-thread-halt.c
+++ b/sysdeps/l4/pt-thread-halt.c
@@ -1,5 +1,5 @@
-/* Deallocate the kernel thread resources. Mach version.
- Copyright (C) 2000,02 Free Software Foundation, Inc.
+/* Deallocate the kernel thread resources. L4version.
+ Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -26,6 +26,6 @@
void
__pthread_thread_halt (struct __pthread *thread)
{
- /* FIXME reuse thread somehow */
l4_stop (thread->threadid);
+ pthread_pool_add_np (thread->threadid);
}