mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
allow signalling from event loop thread
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@828 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
4cff5d3150
commit
3f92e3efa9
1 changed files with 0 additions and 3 deletions
|
|
@ -184,9 +184,6 @@ void pa_threaded_mainloop_unlock(pa_threaded_mainloop *m) {
|
||||||
void pa_threaded_mainloop_signal(pa_threaded_mainloop *m) {
|
void pa_threaded_mainloop_signal(pa_threaded_mainloop *m) {
|
||||||
assert(m);
|
assert(m);
|
||||||
|
|
||||||
/* Make sure that this function is called from the helper thread */
|
|
||||||
assert(m->thread_running && pthread_equal(pthread_self(), m->thread_id));
|
|
||||||
|
|
||||||
pthread_cond_broadcast(&m->cond);
|
pthread_cond_broadcast(&m->cond);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue