Date: Wed, 15 Nov 2000 14:39:36 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys systm.h src/sys/kern kern_synch.c Message-ID: <200011152239.OAA95944@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2000/11/15 14:39:36 PST
Modified files:
sys/sys systm.h
sys/kern kern_synch.c
Log:
- Rename await() to mawait(). mawait() is to await() as msleep() is to
tsleep(). Namely, mawait() takes an extra argument which is a mutex
to drop when going to sleep. Just as with msleep(), if the priority
argument includes the PDROP flag, then the mutex will be dropped and will
not be reacquired when the process wakes up.
- Add in a backwards compatible macro await() that passes in NULL as the
mutex argument to mawait().
Revision Changes Path
1.127 +3 -2 src/sys/sys/systm.h
1.105 +28 -15 src/sys/kern/kern_synch.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011152239.OAA95944>
