Date: Sat, 23 Jan 2010 11:20:54 GMT From: Nick Black <dank@qemfd.net> To: freebsd-gnats-submit@FreeBSD.org Subject: threads/143115: [patch] pthread_join() can return EOPNOTSUPP Message-ID: <201001231120.o0NBKrZV017814@www.freebsd.org> Resent-Message-ID: <201001231130.o0NBU2PU070295@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001231120.o0NBKrZV017814>