diff options
author | jake <jake@FreeBSD.org> | 2000-09-11 00:20:02 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-09-11 00:20:02 +0000 |
commit | 273d0f5a2d56ee17d75e7a16ad23d0a40ee6a0f0 (patch) | |
tree | d266af83e80b070d300be67ec6d4ff696f8a7393 /share | |
parent | 7a63f3f75c0fa73d989787cc3df1adfdc597b86f (diff) | |
download | FreeBSD-src-273d0f5a2d56ee17d75e7a16ad23d0a40ee6a0f0.zip FreeBSD-src-273d0f5a2d56ee17d75e7a16ad23d0a40ee6a0f0.tar.gz |
Rename tsleep to msleep and add a mutex argument, which is
released before sleeping and re-acquired before msleep
returns. A compatibility cpp macro has been provided for
tsleep to avoid changing all occurences of it in the kernel.
Remove an assertion that the Giant mutex be held before
calling tsleep or asleep.
This is intended to serve the same purpose as condition
variables, but does not preclude their addition in the
future.
Approved by: jasone
Obtained from: BSD/OS
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions