Searched refs:sb_cond (Results 1 – 2 of 2) sorted by relevance
176 userland_cond_t sb_cond; /* sockbuf condition variable */ member279 #define SOCKBUF_COND_INIT(_sb) InitializeConditionVariable((&(_sb)->sb_cond))280 #define SOCKBUF_COND_DESTROY(_sb) DeleteConditionVariable((&(_sb)->sb_cond))299 #define SOCKBUF_COND_INIT(_sb) pthread_cond_init((&(_sb)->sb_cond), NULL)300 #define SOCKBUF_COND_DESTROY(_sb) pthread_cond_destroy((&(_sb)->sb_cond))
178 if (SleepConditionVariableCS(&(sb->sb_cond), &(sb->sb_mtx), INFINITE)) in sbwait()183 return (pthread_cond_wait(&(sb->sb_cond), &(sb->sb_mtx))); in sbwait()1575 WakeAllConditionVariable(&(sb)->sb_cond); in sowakeup()1577 pthread_cond_broadcast(&(sb)->sb_cond); in sowakeup()