diff options
author | rpj <rpj> | 1998-07-24 12:21:27 +0000 |
---|---|---|
committer | rpj <rpj> | 1998-07-24 12:21:27 +0000 |
commit | eafdb5db2871e893574fd0da01554d1a50b7471f (patch) | |
tree | d9745ff3e93354d8b836dfda8cdebd0ff8a760b4 /exit.c | |
parent | 2049e2d3f0bce851995dda72511996c14e51ac66 (diff) |
Fri Jul 24 21:13:55 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* cancel.c (pthread_cancel): Implement.
(pthread_testcancel): Implement.
* exit.c (pthread_exit): Add comment explaining the longjmp().
* implement.h (_pthread_threads_thread_t): New member cancelthread.
(_PTHREAD_YES): Define.
(_PTHREAD_NO): Define.
(RND_SIZEOF): Remove.
* create.c (pthread_create): Rename cancelability to cancelstate.
* pthread.h (pthread_attr_t): Rename cancelability to cancelstate.
(PTHREAD_CANCELED): Define.
Diffstat (limited to 'exit.c')
-rw-r--r-- | exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -48,5 +48,6 @@ pthread_exit(void * value) /* FIXME: More to do here. IE, if pthread_detach() was called and value != NULL, do we free(value)? */ + /* Teleport back to _pthread_start_call() to cleanup and exit. */ longjmp(this->call.env, 1); } |