1 |
|
2005-05-04 Neal H. Walfield <neal@gnu.org> |
2 |
|
|
3 |
|
* Makefile (SRCS): Add pt-thread_dealloc.c. |
4 |
|
* sysdeps/mach/pt-thread-dealloc.c: New file. |
5 |
|
* pthread/pt-internal.h (__pthread_thread_dealloc): New |
6 |
|
declaration. |
7 |
|
(__pthread_thread_halt): Add parameter NEED_DEALLOC. Update |
8 |
|
callers. |
9 |
|
* sysdeps/mach/pt-thread-halt.c (__pthread_thread_halt): Respect |
10 |
|
new NEED_DEALLOC parameter. Move code which deallocates kernel |
11 |
|
resources from here ... |
12 |
|
* sysdeps/mach/pt-thread-dealloc.c (__pthread_thread_dealloc): |
13 |
|
...to here. |
14 |
|
* pthread/pt-create.c (__pthread_create_internal): Call |
15 |
|
__pthread_thread_dealloc on failure. |
16 |
|
* pthread/pt-exit.c (pthread_exit): Call __pthread_thread_dealloc. |
17 |
|
|
18 |
|
* sysdeps/mach/pt-thread-alloc.c (create_wakeupmsg): Call |
19 |
|
__mach_port_destroy to deallocate the receive right. |
20 |
|
__mach_port_deallocate won't do it. |
21 |
|
|
22 |
|
* pthread/pt-detach.c (pthread_detach): Don't call |
23 |
|
__pthread_thread_halt a second time. |
24 |
|
|
25 |
|
* sysdeps/mach/hurd/pt-sysdep.c (_cthread_init_routine): Fix |
26 |
|
declaration. |
27 |
|
(init_routine): Update declaration and remove gratuitous cast. |
28 |
|
|
29 |
2005-05-02 Neal H. Walfield <neal@gnu.org> |
2005-05-02 Neal H. Walfield <neal@gnu.org> |
30 |
|
|
31 |
* pthread/pt-alloc.c (__pthread_alloc): Set the thread id to the |
* pthread/pt-alloc.c (__pthread_alloc): Set the thread id to the |