summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>1998-08-06 06:25:28 +0000
committerrpj <rpj>1998-08-06 06:25:28 +0000
commit0f876ad7ecea80b726e6123ef227dedab7e52cf7 (patch)
tree93888ab51fcf8faf3c16fad1b79cb3b1fec1f25e
parentad2fc723a301cf4e6cda882d93199548d525c879 (diff)
Thu Aug 6 15:19:22 1998 Ross Johnson <rpj@swan.canberra.edu.au>
* implement.h (_pthread_destructor_pop): Add prototype. * tsd.c (implement.h): Add include.
-rw-r--r--ChangeLog4
-rw-r--r--implement.h2
-rw-r--r--tsd.c1
3 files changed, 7 insertions, 0 deletions
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 <rpj@swan.canberra.edu.au>
+ * 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 *))