diff options
| author | rpj <rpj> | 1998-08-06 06:25:28 +0000 | 
|---|---|---|
| committer | rpj <rpj> | 1998-08-06 06:25:28 +0000 | 
| commit | 0f876ad7ecea80b726e6123ef227dedab7e52cf7 (patch) | |
| tree | 93888ab51fcf8faf3c16fad1b79cb3b1fec1f25e | |
| parent | ad2fc723a301cf4e6cda882d93199548d525c879 (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-- | 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 *)) | 
