Date: Wed, 16 Feb 2000 11:34:54 -0800 (PST) From: Jason Evans <jasone@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread uthread_sem.c Message-ID: <200002161934.LAA75348@freefall.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002161934.LAA75348>
