From owner-cvs-all Wed Feb 16 11:34:58 2000 Delivered-To: cvs-all@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id 57FB537B55F; Wed, 16 Feb 2000 11:34:55 -0800 (PST) (envelope-from jasone@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id DE97F132DE; Wed, 16 Feb 2000 11:34:18 -0800 (PST) Received: (from jasone@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA75348; Wed, 16 Feb 2000 11:34:55 -0800 (PST) (envelope-from jasone@FreeBSD.org) Message-Id: <200002161934.LAA75348@freefall.freebsd.org> From: Jason Evans Date: Wed, 16 Feb 2000 11:34:54 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread uthread_sem.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jasone 2000/02/16 11:34:54 PST Modified files: lib/libc_r/uthread uthread_sem.c Log: For errors, return -1 and set errno to indicate the error type, rather than returning the error directly. For sem_post(), make sure that the correct thread is woken up. This has unfortunate performance implications, but is necessary for POSIX compliance. Approved by: jkh Revision Changes Path 1.3 +34 -17 src/lib/libc_r/uthread/uthread_sem.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message