Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/pulsecore/
Dshmasyncq.c48 pa_fdsem *read_fdsem, *write_fdsem; member
93 if (!(l->write_fdsem = pa_fdsem_new(&d->write_fdsem_data, &fd[1]))) {
113 pa_fdsem_free(l->write_fdsem);
144 pa_fdsem_post(l->write_fdsem);
169 pa_fdsem_wait(l->write_fdsem);
189 return pa_fdsem_get(q->write_fdsem);
207 if (pa_fdsem_before_poll(l->write_fdsem) >= 0)
217 pa_fdsem_after_poll(l->write_fdsem);
Dasyncq.c62 pa_fdsem *read_fdsem, *write_fdsem; member
98 if (!(l->write_fdsem = pa_fdsem_new())) { in pa_asyncq_new()
129 pa_fdsem_free(l->write_fdsem); in pa_asyncq_free()
160 pa_fdsem_post(l->write_fdsem); in push()
243 pa_fdsem_wait(l->write_fdsem); in pa_asyncq_pop()
263 return pa_fdsem_get(q->write_fdsem); in pa_asyncq_read_fd()
281 if (pa_fdsem_before_poll(l->write_fdsem) >= 0) in pa_asyncq_read_before_poll()
289 pa_fdsem_after_poll(l->write_fdsem); in pa_asyncq_read_after_poll()