18 lines
256 B
C
18 lines
256 B
C
#include <zinnia/waitq.h>
|
|
|
|
void waitq_init(struct waitq* wq) {
|
|
tailq_init(&wq->waiters);
|
|
}
|
|
|
|
void waitq_wait(struct waitq* wq) {
|
|
// TODO
|
|
}
|
|
|
|
void waitq_wake_one(struct waitq* wq) {
|
|
// TODO
|
|
}
|
|
|
|
void waitq_wake_all(struct waitq* wq) {
|
|
// TODO
|
|
}
|