From owner-freebsd-threads@FreeBSD.ORG Sat Feb 26 12:18:14 2011 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 333FA10656A7 for ; Sat, 26 Feb 2011 12:18:14 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id BB49B8FC0A for ; Sat, 26 Feb 2011 12:18:13 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id C86DBE8C30 for ; Sat, 26 Feb 2011 12:18:08 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=subject :from:to:content-type:date:message-id:mime-version :content-transfer-encoding; s=mail; bh=24RRQvvRJnEgpr4Av6csb80ns iA=; b=Rzd+vgA+KD0luMKWvSNtt+3sCWipj3YL94hKnn0ohZ2yywTQFYnh40kdI ZexUKBzsgPwqQv7Oyf0ufCjxrPTImnT2ye3zm2ZQEq30WYENiQi4JyTJIxMz8oQr SDkLJTGRUap0QvyZbmgdt8zICvb/wLfpLxuBEdPwlwnDkTFnFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=subject:from :to:content-type:date:message-id:mime-version :content-transfer-encoding; q=dns; s=mail; b=qNRk+Y9K+sz0SYSKUCK hMgAxamuzJkQaGQS4r+DFmZMj+t7bCR6CmTeeivJvemByB0vdNJSiLZhgq6xpjeC O+/eIiE2CNHr2ewOzZWOT/Bn9vvr2LqeQXJt5WfMFSYBDt1/D4lbSWdpX6GSMll9 aoXKduFUuc0r65E43IFhwC8U= Received: from [192.168.0.10] (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 83484E61BD for ; Sat, 26 Feb 2011 12:18:08 +0000 (GMT) From: Bruce Cran To: freebsd-threads@freebsd.org Content-Type: text/plain; charset="us-ascii" Date: Sat, 26 Feb 2011 12:17:54 +0000 Message-ID: <1298722674.5332.5.camel@core.nessbank> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Returning ESRCH for invalid pthread_t 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, 26 Feb 2011 12:18:14 -0000 Hi, I've been working on standards/125751: after talking to jilles@ I've decided that we shouldn't change pthread_getschedparam since its behaviour isn't specified by POSIX. However I'd like to get feedback about the change to make thread search functions return ESRCH instead of EINVAL even when a totally bogus id is given, since I'm not very familiar with either POSIX or pthreads. -- Bruce Cran