Received: by mail.netbsd.org (Postfix, from userid 605) id BA64714A507; Wed, 7 Mar 2012 23:31:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9FF7B14A53A for ; Wed, 7 Mar 2012 23:31:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id CG6wqtsurJZb for ; Wed, 7 Mar 2012 23:31:45 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 8879A14A4BB for ; Wed, 7 Mar 2012 23:31:44 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 17E4D175DD; Wed, 7 Mar 2012 23:31:45 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Wed, 7 Mar 2012 23:31:45 +0000 From: "Joerg Sonnenberger" Subject: CVS commit: src To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120307233145.17E4D175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Joerg Sonnenberger" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: joerg Date: Wed Mar 7 23:31:44 UTC 2012 Modified Files: src/lib/libpthread: sem.c src/tests/lib/libpthread: t_sem.c Log Message: Remove libpthread's semaphore implementation and always use the kernel one. The implementation doesn't provide an async-safe sem_post and can't without a lot of work on the pthread primitives. Remove bogus time out requirement in test case, it should have been a "known failure" if anything. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/lib/libpthread/sem.c cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libpthread/t_sem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.