summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2005-05-04 16:04:06 +0000
committerNeal H. Walfield <neal@gnu.org>2005-05-04 16:04:06 +0000
commitf19e83eb2a17d0e87b90a050e7550e1e6985196f (patch)
treebc968bbd260b351e675ddbab73647d36a0b3d89a /ChangeLog
parent81cb5487d08c59fca0190cf03a07bdf45fe90ea8 (diff)
libpthread/
2005-05-04 Neal H. Walfield <neal@gnu.org> * Makefile (SRCS): Add pt-thread_dealloc.c. * sysdeps/mach/pt-thread-dealloc.c: New file. * pthread/pt-internal.h (__pthread_thread_dealloc): New declaration. (__pthread_thread_halt): Add parameter NEED_DEALLOC. Update callers. * sysdeps/mach/pt-thread-halt.c (__pthread_thread_halt): Respect new NEED_DEALLOC parameter. Move code which deallocates kernel resources from here ... * sysdeps/mach/pt-thread-dealloc.c (__pthread_thread_dealloc): ...to here. * pthread/pt-create.c (__pthread_create_internal): Call __pthread_thread_dealloc on failure. * pthread/pt-exit.c (pthread_exit): Call __pthread_thread_dealloc. * sysdeps/mach/pt-thread-alloc.c (create_wakeupmsg): Call __mach_port_destroy to deallocate the receive right. __mach_port_deallocate won't do it. * pthread/pt-detach.c (pthread_detach): Don't call __pthread_thread_halt a second time. * sysdeps/mach/hurd/pt-sysdep.c (_cthread_init_routine): Fix declaration. (init_routine): Update declaration and remove gratuitous cast.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog28
1 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c398c1f..fd8455c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+2005-05-04 Neal H. Walfield <neal@gnu.org>
+
+ * Makefile (SRCS): Add pt-thread_dealloc.c.
+ * sysdeps/mach/pt-thread-dealloc.c: New file.
+ * pthread/pt-internal.h (__pthread_thread_dealloc): New
+ declaration.
+ (__pthread_thread_halt): Add parameter NEED_DEALLOC. Update
+ callers.
+ * sysdeps/mach/pt-thread-halt.c (__pthread_thread_halt): Respect
+ new NEED_DEALLOC parameter. Move code which deallocates kernel
+ resources from here ...
+ * sysdeps/mach/pt-thread-dealloc.c (__pthread_thread_dealloc):
+ ...to here.
+ * pthread/pt-create.c (__pthread_create_internal): Call
+ __pthread_thread_dealloc on failure.
+ * pthread/pt-exit.c (pthread_exit): Call __pthread_thread_dealloc.
+
+ * sysdeps/mach/pt-thread-alloc.c (create_wakeupmsg): Call
+ __mach_port_destroy to deallocate the receive right.
+ __mach_port_deallocate won't do it.
+
+ * pthread/pt-detach.c (pthread_detach): Don't call
+ __pthread_thread_halt a second time.
+
+ * sysdeps/mach/hurd/pt-sysdep.c (_cthread_init_routine): Fix
+ declaration.
+ (init_routine): Update declaration and remove gratuitous cast.
+
2005-05-02 Neal H. Walfield <neal@gnu.org>
* pthread/pt-alloc.c (__pthread_alloc): Set the thread id to the