From dank@qemfd.net Sat Jan 23 11:33:36 2010 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F4EA106566C for ; Sat, 23 Jan 2010 11:33:36 +0000 (UTC) (envelope-from dank@qemfd.net) Received: from qemfd.net (recombinator.qemfd.net [216.27.165.184]) by mx1.freebsd.org (Postfix) with ESMTP id E67A38FC0A for ; Sat, 23 Jan 2010 11:33:35 +0000 (UTC) Received: by qemfd.net (Postfix, from userid 1000) id 87C8D2CE071; Sat, 23 Jan 2010 06:18:10 -0500 (EST) Message-Id: <20100123111810.GA24334@qemfd.net> Date: Sat, 23 Jan 2010 06:18:10 -0500 From: nick black To: FreeBSD-gnats-submit@freebsd.org Subject: [patch] pthread_join() can return EOPNOTSUPP X-Send-Pr-Version: 3.113 >Number: 143116 >Category: threads >Synopsis: [patch] pthread_join() can return EOPNOTSUPP >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-threads >State: closed >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 23 11:40:01 UTC 2010 >Closed-Date: Sat Jan 30 12:22:00 UTC 2010 >Last-Modified: Sat Jan 30 12:22:00 UTC 2010 >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 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: State-Changed-From-To: open->closed State-Changed-By: gavin State-Changed-When: Sat Jan 30 12:21:37 UTC 2010 State-Changed-Why: Close, duplcate of 143115 http://www.freebsd.org/cgi/query-pr.cgi?pr=143116 >Unformatted: --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable