Cleanup comments and change CV_WakeAll -> CV_Broacast
This commit is contained in:
parent
7f6b72c963
commit
bd44784c5f
@ -70,12 +70,12 @@ CV_Signal(CV *cv)
|
||||
}
|
||||
|
||||
/**
|
||||
* CV_WakeAll --
|
||||
* CV_Broadcast --
|
||||
*
|
||||
* Wake all threads waiting on the condition.
|
||||
*/
|
||||
void
|
||||
CV_WakeAll(CV *cv)
|
||||
CV_Broadcast(CV *cv)
|
||||
{
|
||||
WaitChannel_WakeAll(&cv->chan);
|
||||
|
||||
|
@ -62,8 +62,7 @@ WaitChannel_Lock(WaitChannel *wchan)
|
||||
/**
|
||||
* WaitChannel_Sleep --
|
||||
*
|
||||
* Places the current thread to asleep while releasing the wait channel
|
||||
* lock.
|
||||
* Places the current thread to asleep while releasing the wait channel lock.
|
||||
*
|
||||
* Side Effect:
|
||||
* Retains a reference to thread until the thread is woken up.
|
||||
|
Loading…
Reference in New Issue
Block a user