Catch up to rev 1.52 of sys/kern/kern_condvar.c. cv_signal() and
cv_broadcast() no longer require that the interlock mutex be held when called. Reminded by: das
This commit is contained in:
parent
be5523e807
commit
39fb485701
@ -121,14 +121,6 @@ All waiters must pass the same
|
||||
.Fa mp
|
||||
in conjunction with
|
||||
.Fa cvp .
|
||||
A thread must hold
|
||||
.Fa mp
|
||||
while calling
|
||||
.Fn cv_signal ,
|
||||
.Fn cv_broadcast ,
|
||||
or
|
||||
.Fn cv_broadcastpri
|
||||
even though it isn't passed as an argument.
|
||||
.Pp
|
||||
When
|
||||
.Fn cv_wait ,
|
||||
|
Loading…
Reference in New Issue
Block a user