summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
authorrpj <rpj>1998-07-31 02:10:03 +0000
committerrpj <rpj>1998-07-31 02:10:03 +0000
commit0bc99fb6243a64c6f9a4d503382e9125adeb85a0 (patch)
tree5d0899fe95d32928070aa10dffccbf0b8da09dd5 /implement.h
parent46dc6c8f550e64ed07650b98ea437fdbb1de54c7 (diff)
Fri Jul 31 00:05:45 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* 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().
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h5
1 files changed, 5 insertions, 0 deletions
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);