threads/143115: [patch] pthread_join() can return EOPNOTSUPP
Nick Black
dank at qemfd.net
Sat Jan 23 11:30:02 UTC 2010
>Number: 143115
>Category: threads
>Synopsis: [patch] pthread_join() can return EOPNOTSUPP
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-threads
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 23 11:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Nick Black
>Release: 8.0-RELEASE
>Organization:
Georgia Institute of Technology
>Environment:
[freebsd8](0) $ uname -a
FreeBSD freebsd8.kvmnet 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
[freebsd8](0) $
>Description:
The pthread_join(3) man page ought list that EOPNOTSUPP can be returned from pthread_join(3) when multiple callers join on the same thread. I've included a trivial patch.
>How-To-Repeat:
man pthread_join
>Fix:
Apply patch
Patch attached with submission follows:
--- pthread_join.3-EOPNOTSUPP.diff begins here ---
--- pthread_join.3 2010-01-23 06:08:01.000000000 -0500
+++ pthread_join.3.pristine 2010-01-23 06:06:25.000000000 -0500
@@ -95,9 +95,6 @@
A deadlock was detected or the value of
.Fa thread
specifies the calling thread.
-.It Bq Er EOPNOTSUPP
-Another caller is already waiting on
-.Fa thread .
.El
.Sh SEE ALSO
.Xr wait 2 ,
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-threads
mailing list