#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <sys/cdefs.h>
#include <sys/kassert.h>
#include <sys/kconfig.h>
#include <sys/kdebug.h>
#include <sys/kmem.h>
#include <sys/mp.h>
#include <sys/queue.h>
#include <sys/thread.h>
#include <sys/spinlock.h>
#include <sys/waitchannel.h>
#include <sys/mutex.h>
#include <sys/cv.h>
#include <errno.h>
Go to the source code of this file.
◆ CV_Broadcast()
void CV_Broadcast |
( |
CV * |
cv | ) |
|
CV_Broadcast –
Wake all threads waiting on the condition.
Definition at line 70 of file cv.c.
◆ CV_Destroy()
void CV_Destroy |
( |
CV * |
cv | ) |
|
Definition at line 33 of file cv.c.
34{
36
37 return;
38}
void WaitChannel_Destroy(WaitChannel *wc)
◆ CV_Init()
void CV_Init |
( |
CV * |
cv, |
|
|
const char * |
name |
|
) |
| |
Definition at line 25 of file cv.c.
26{
28
29 return;
30}
void WaitChannel_Init(WaitChannel *wc, const char *name)
◆ CV_Signal()
void CV_Signal |
( |
CV * |
cv | ) |
|
CV_Signal –
Wake a single thread waiting on the condition.
Definition at line 59 of file cv.c.
◆ CV_Wait()
void CV_Wait |
( |
CV * |
cv, |
|
|
Mutex * |
mtx |
|
) |
| |
CV_Wait –
Wait to be woken up on a condition.
Definition at line 46 of file cv.c.
47{
48
50
51}
uint32_t Critical_Level()