diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | implement.h | 2 | ||||
| -rw-r--r-- | tsd.c | 1 | 
3 files changed, 7 insertions, 0 deletions
| @@ -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. */ @@ -6,6 +6,7 @@   */  #include "pthread.h" +#include "implement.h"  int  pthread_key_create(pthread_key_t *key, void (*destructor)(void *)) | 
