diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-12-19 02:02:53 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-12-19 02:02:53 +0000 |
commit | eda62f0bd378e59f8f8834ff5aa82b6116d16f3c (patch) | |
tree | c86efedef1e44a31c0ca350e46c9ccbd266c7a84 /lib/libpthread/uthread/uthread_exit.c | |
parent | a0b122637ad74506e34f0e1c7da4d51b152b73d9 (diff) |
More sync.
Diffstat (limited to 'lib/libpthread/uthread/uthread_exit.c')
-rw-r--r-- | lib/libpthread/uthread/uthread_exit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libpthread/uthread/uthread_exit.c b/lib/libpthread/uthread/uthread_exit.c index 232b55e008e..a7a0c60a267 100644 --- a/lib/libpthread/uthread/uthread_exit.c +++ b/lib/libpthread/uthread/uthread_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_exit.c,v 1.14 2001/12/11 00:19:47 fgsch Exp $ */ +/* $OpenBSD: uthread_exit.c,v 1.15 2001/12/19 02:02:52 fgsch Exp $ */ /* * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au> * All rights reserved. @@ -226,11 +226,9 @@ pthread_exit(void *status) pthread->join_status.error = 0; pthread->join_status.thread = NULL; -#ifdef notyet /* Make this thread collectable by the garbage collector. */ PTHREAD_ASSERT(((curthread->attr.flags & PTHREAD_DETACHED) == 0), "Cannot join a detached thread"); -#endif curthread->attr.flags |= PTHREAD_DETACHED; } |