Skip to content

condvar

include/sync/condvar.h View source View on GitHub
struct condvar (1 field) source
§ struct thread_wait_header waiters
typedef void (*thread_action_callback)(struct thread * woke)
source
enum wake_reason condvar_wait(
    struct condvar *cv,
    struct spinlock *lock,
    enum irql irql,
    enum irql *out
)
source
void condvar_init(struct condvar *cv)
source
struct thread * condvar_signal(struct condvar *cv)
source
struct thread * condvar_signal_callback(
    struct condvar *cv,
    thread_action_callback cb
)
source
void condvar_broadcast_callback(
    struct condvar *cv,
    thread_action_callback cb
)
source
void condvar_broadcast(struct condvar *cv)
source
enum wake_reason condvar_wait_timeout(
    struct condvar *cv,
    struct spinlock *lock,
    time_ms_t timeout_ms,
    enum irql irql,
    enum irql *out
)
source