From owner-freebsd-threads@FreeBSD.ORG Sat Jan 23 11:40:02 2010 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7658106568B for ; Sat, 23 Jan 2010 11:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C99488FC1A for ; Sat, 23 Jan 2010 11:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0NBe1Rn081827 for ; Sat, 23 Jan 2010 11:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0NBe1li081826; Sat, 23 Jan 2010 11:40:01 GMT (envelope-from gnats) Resent-Date: Sat, 23 Jan 2010 11:40:01 GMT Resent-Message-Id: <201001231140.o0NBe1li081826@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-threads@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, nick black 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 X-Send-Pr-Version: 3.113 Cc: Subject: threads/143116: [patch] pthread_join() can return EOPNOTSUPP X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 11:40:02 -0000 >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 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