Searched refs:sb_cond (Results 1 – 2 of 2) sorted by relevance
174 userland_cond_t sb_cond; /* sockbuf condition variable */ member270 #define SOCKBUF_COND_INIT(_sb) InitializeConditionVariable((&(_sb)->sb_cond))271 #define SOCKBUF_COND_DESTROY(_sb) DeleteConditionVariable((&(_sb)->sb_cond))279 #define SOCKBUF_COND_INIT(_sb) pthread_cond_init((&(_sb)->sb_cond), NULL)280 #define SOCKBUF_COND_DESTROY(_sb) pthread_cond_destroy((&(_sb)->sb_cond))
136 if (SleepConditionVariableCS(&(sb->sb_cond), &(sb->sb_mtx), INFINITE)) in sbwait()141 return (pthread_cond_wait(&(sb->sb_cond), &(sb->sb_mtx))); in sbwait()1479 WakeAllConditionVariable(&(sb)->sb_cond); in sowakeup()1481 pthread_cond_broadcast(&(sb)->sb_cond); in sowakeup()