diff options
| author | bje <bje> | 1999-02-20 05:11:51 +0000 | 
|---|---|---|
| committer | bje <bje> | 1999-02-20 05:11:51 +0000 | 
| commit | 60784dc1a92121efe9301ac57476024fe64f968b (patch) | |
| tree | 5a36b2b9c76cd54a698c0de3b03f2f0db3212427 | |
| parent | 949ca2ccc5c972644c70238eee7d2099a3ede1f3 (diff) | |
1999-02-21  Ben Elliston  <bje@cygnus.com>
	* pthread.h (pthread_exit): The return type of this function is
	void, not int.
	* exit.c (pthread_exit): Do not return 0.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | exit.c | 10 | ||||
| -rw-r--r-- | pthread.h | 2 | 
3 files changed, 10 insertions, 9 deletions
| @@ -1,3 +1,10 @@ +1999-02-21  Ben Elliston  <bje@cygnus.com> + +	* pthread.h (pthread_exit): The return type of this function is +	void, not int. + +	* exit.c (pthread_exit): Do not return 0. +  Sat Feb 20 16:03:30 1999  Ross Johnson  <rpj@ixobrychus.canberra.edu.au>  	* dll.c (DLLMain): Expand TryEnterCriticalSection support test. @@ -13,7 +13,7 @@   * Code contributed by John E. Bossom <JEB>.   */ -int +void  pthread_exit (void *value_ptr)       /*        * ------------------------------------------------------ @@ -40,10 +40,4 @@ pthread_exit (void *value_ptr)    _pthread_callUserDestroyRoutines((pthread_t) pthread_getspecific(_pthread_selfThreadKey));    _endthreadex ((unsigned) value_ptr); - -  return (0); - -}				/* pthread_exit */ - -/* </JEB> */ - +} @@ -842,7 +842,7 @@ int pthread_detach (pthread_t tid);  int pthread_equal (pthread_t t1,  		   pthread_t t2); -int pthread_exit (void *value_ptr); +void pthread_exit (void *value_ptr);  int pthread_join (pthread_t thread,  		  void **value_ptr); | 
