diff options
author | rpj <rpj> | 1998-07-26 11:25:32 +0000 |
---|---|---|
committer | rpj <rpj> | 1998-07-26 11:25:32 +0000 |
commit | e54818fa1513ff6802c929d27f01df2257d8c153 (patch) | |
tree | 455b1d70a09d8d7649265e225cbdc6a2e0ee916b /create.c | |
parent | c9d01733e79f70581d2e6616332ac47677a6a2bd (diff) |
Sun Jul 26 13:06:12 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* 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().
* create.c (_pthread_start_call): Change pthread_exit() call to
_pthread_exit() call.
Diffstat (limited to 'create.c')
-rw-r--r-- | create.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,7 +40,8 @@ _pthread_start_call(void * us_arg) ret = (*func)(arg); - pthread_exit(NULL); + _pthread_exit(NULL, ret); + /* Never Reached */ } |