diff options
author | bje <bje> | 1998-07-10 12:45:08 +0000 |
---|---|---|
committer | bje <bje> | 1998-07-10 12:45:08 +0000 |
commit | 050dbefb84bd5831710d5b926434624ffdb786f7 (patch) | |
tree | c91574d7ef745fc2677c793c44866cb1b6e4c8af | |
parent | 1ba1c865a2817d33f9853f4e22a6114f757175a0 (diff) |
1998-07-10 Ben Elliston <bje@cygnus.com>
* exit.c (pthread_exit): Implement.
-rw-r--r-- | exit.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +/* + * exit.c + * + * Description: + * This translation unit implements routines associated with exiting from + * a thread. + */ + +#include "pthread.h" + +void pthread_exit(void * value) +{ + /* The semantics are such that additional tasks must be done for + strict POSIX conformance. We must add code here later which + deals with executing cleanup handlers and such. For now, the + following is mostly correct: */ + + ExitThread((DWORD) value); +} |