From 0bc99fb6243a64c6f9a4d503382e9125adeb85a0 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 31 Jul 1998 02:10:03 +0000 Subject: Fri Jul 31 00:05:45 1998 Ross Johnson * implement.h (_pthread_handler_pop_all): Add prototype. (_pthread_destructor_pop_all): Ditto. * cleanup.c (_pthread_destructor_push): Implement. This is just a call to _pthread_handler_push(). (_pthread_destructor_pop_all): Implement. This is significantly different to _pthread_handler_pop_all(). --- implement.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'implement.h') diff --git a/implement.h b/implement.h index 9e84942..56fa7b3 100644 --- a/implement.h +++ b/implement.h @@ -107,6 +107,11 @@ void _pthread_handler_pop(int stack, void _pthread_handler_pop_all(int stack, int execute); +int _pthread_destructor_push(void (*routine)(void *), + pthread_key_t key); + +void _pthread_destructor_pop_all(); + /* Primitives to manage threads table entries. */ int _pthread_new_thread(pthread_t * thread); -- cgit v1.2.3