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.
|
* Wake all threads waiting on the condition.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
CV_WakeAll(CV *cv)
|
CV_Broadcast(CV *cv)
|
||||||
{
|
{
|
||||||
WaitChannel_WakeAll(&cv->chan);
|
WaitChannel_WakeAll(&cv->chan);
|
||||||
|
|
||||||
|
@ -62,8 +62,7 @@ WaitChannel_Lock(WaitChannel *wchan)
|
|||||||
/**
|
/**
|
||||||
* WaitChannel_Sleep --
|
* WaitChannel_Sleep --
|
||||||
*
|
*
|
||||||
* Places the current thread to asleep while releasing the wait channel
|
* Places the current thread to asleep while releasing the wait channel lock.
|
||||||
* lock.
|
|
||||||
*
|
*
|
||||||
* Side Effect:
|
* Side Effect:
|
||||||
* Retains a reference to thread until the thread is woken up.
|
* Retains a reference to thread until the thread is woken up.
|
||||||
|
Loading…
Reference in New Issue
Block a user