diff options
author | jhb <jhb@FreeBSD.org> | 2000-11-15 22:39:35 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-11-15 22:39:35 +0000 |
commit | de636b04e8d3f784a9cec070dd3f6a60142972a0 (patch) | |
tree | 54a7413fa750eff65d272275f1b47de4d571d7d0 /sys/compat/linux/linux_socket.c | |
parent | 0efbfa0260e20fd09ec20131b349b2b2abe0ec93 (diff) | |
download | FreeBSD-src-de636b04e8d3f784a9cec070dd3f6a60142972a0.zip FreeBSD-src-de636b04e8d3f784a9cec070dd3f6a60142972a0.tar.gz |
- 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().
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
0 files changed, 0 insertions, 0 deletions