From 0f876ad7ecea80b726e6123ef227dedab7e52cf7 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 6 Aug 1998 06:25:28 +0000 Subject: Thu Aug 6 15:19:22 1998 Ross Johnson * implement.h (_pthread_destructor_pop): Add prototype. * tsd.c (implement.h): Add include. --- ChangeLog | 4 ++++ implement.h | 2 ++ tsd.c | 1 + 3 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index cc2f15d..742a262 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ Thu Aug 6 15:19:22 1998 Ross Johnson + * implement.h (_pthread_destructor_pop): Add prototype. + + * tsd.c (implement.h): Add include. + * sync.c (pthread_join): Remove target_thread_mutex and it's initialisation. Rename getdetachedstate to getdetachstate. Remove unused variable "exitcode". diff --git a/implement.h b/implement.h index 4a616ec..9e542c0 100644 --- a/implement.h +++ b/implement.h @@ -107,6 +107,8 @@ void _pthread_handler_pop_all(int stack, int _pthread_destructor_push(void (*routine)(void *), pthread_key_t key); +void _pthread_destructor_pop(pthread_key_t key); + void _pthread_destructor_pop_all(); /* Primitives to manage threads table entries. */ diff --git a/tsd.c b/tsd.c index d1d2deb..599ef73 100644 --- a/tsd.c +++ b/tsd.c @@ -6,6 +6,7 @@ */ #include "pthread.h" +#include "implement.h" int pthread_key_create(pthread_key_t *key, void (*destructor)(void *)) -- cgit v1.2.3