Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2010 06:18:10 -0500
From:      nick black <dank@qemfd.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   threads/143116: [patch] pthread_join() can return EOPNOTSUPP
Message-ID:  <20100123111810.GA24334@qemfd.net>
Resent-Message-ID: <201001231140.o0NBe1li081826@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         143116
>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:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     nick black
>Release:        FreeBSD 8.0-RELEASE amd64
>Organization:
georgia institute of technology
>Environment:
System: 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/GENER=
IC amd64


>Description:

 pthread_join(3) can return EOPNOTSUPP in libthr, but this is not
 indicated in the manual page.

>How-To-Repeat:
>Fix:

 I've included the (trivial) patch. Please apply. Thanks!

--- 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 ,
--- pthread_join.3-EOPNOTSUPP.diff ends here ---

--=20
                                       Nick Black <nickblack@linux.com>
                                  Grad student, GT College of Computing
                    "np: the class of dashed hopes, and idle dreams..."

--b5gNqxB1S1yM7hjW
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="pthread_join.3-EOPNOTSUPP.diff"

--- 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 ,

--b5gNqxB1S1yM7hjW--
>Release-Note:
>Audit-Trail:
>Unformatted:
 --b5gNqxB1S1yM7hjW
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100123111810.GA24334>