diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | implement.h | 10 | 
2 files changed, 11 insertions, 4 deletions
| @@ -1,5 +1,10 @@  Sun Jul 26 13:06:12 1998  Ross Johnson  <rpj@ixobrychus.canberra.edu.au> +	* implement.h (_pthread_new_thread_entry): Fix prototype. +	(_pthread_find_thread_entry): Ditto. +	(_pthread_delete_thread_entry): Ditto. +	(_pthread_exit): Add prototype. +  	* exit.c (_pthread_exit): New function. Called from pthread_exit()  	and _pthread_start_call() to exit the thread. It allows an extra  	argument which is the return code passed to _endthreadex(). diff --git a/implement.h b/implement.h index cde8a33..5cc0de6 100644 --- a/implement.h +++ b/implement.h @@ -98,17 +98,19 @@ void _pthread_handler_pop_all(int stack,  /* Primitives to manage threads table entries. */ -int _pthread_new_thread_entry(pthread_t thread,  -			      _pthread_threads_thread_t ** entry); +int _pthread_new_thread_entry(pthread_t thread, +			      _pthread_threads_thread_t * entry); -_pthread_threads_thread ** _pthread_find_thread_entry(pthread_t thread); +_pthread_threads_thread_t * _pthread_find_thread_entry(pthread_t thread); -void _pthread_delete_thread_entry(_pthread_threads_thread_t ** this); +void _pthread_delete_thread_entry(_pthread_threads_thread_t * this);  /* Thread cleanup. */  void _pthread_vacuum(void); +void _pthread_exit(void * value, int return_code); +  #ifdef __cplusplus  }  #endif /* __cplusplus */ | 
