Date: Tue, 28 Nov 2006 11:05:31 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libthr/thread thr_join.c src/lib/libpthread/thread thr_join.c Message-ID: <200611281105.kASB5WoY046994@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2006-11-28 11:05:31 UTC
FreeBSD src repository
Modified files:
lib/libthr/thread thr_join.c
lib/libpthread/thread thr_join.c
Log:
If a thread was detached, return EINVAL instead, the error code
is also returned by pthread_detach() if a thread was already
detached, the error code was already documented:
> [EINVAL] The implementation has detected that the value speci-
> fied by thread does not refer to a joinable thread.
Revision Changes Path
1.30 +1 -1 src/lib/libpthread/thread/thr_join.c
1.23 +1 -1 src/lib/libthr/thread/thr_join.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611281105.kASB5WoY046994>
