Home
last modified time | relevance | path

Searched refs:sb_cond (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_socketvar.h174 userland_cond_t sb_cond; /* sockbuf condition variable */ member
270 #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))
Duser_socket.c136 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()