allow timo to be 0 when mtx is not NULL (KASSERT allowed this as
pointed out by jhb) Reviewed by: jhb MFC after: 3 days
This commit is contained in:
parent
daad1cd74d
commit
235811bfea
@ -99,7 +99,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