MFC: sleep.9 v1.47
> allow timo to be 0 when mtx is not NULL (KASSERT allowed this as > pointed out by jhb) Approved by: re (scottl)
This commit is contained in:
parent
9680b98fd3
commit
70efe36b03
@ -97,7 +97,11 @@ Sleeps at most
|
||||
\&/ hz seconds (0 means no timeout).
|
||||
If the
|
||||
.Va Giant
|
||||
lock is not held, then
|
||||
lock is not held and
|
||||
.Fa mtx
|
||||
is
|
||||
.Dv NULL ,
|
||||
then
|
||||
.Fa timo
|
||||
must be non-zero.
|
||||
If
|
||||
|
Loading…
x
Reference in New Issue
Block a user