mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
threaded-mainloop: loop around pa_cond_wait() invocation in pa_threaded_mainloop_signal()
This commit is contained in:
parent
f8873ab82b
commit
4f5e2b745e
2 changed files with 13 additions and 4 deletions
|
|
@ -274,7 +274,9 @@ void pa_threaded_mainloop_unlock(pa_threaded_mainloop *m);
|
|||
* inside the event loop thread. Prior to this call the event loop
|
||||
* object needs to be locked using pa_threaded_mainloop_lock(). While
|
||||
* waiting the lock will be released, immediately before returning it
|
||||
* will be acquired again. */
|
||||
* will be acquired again. This function may spuriously wake up even
|
||||
* without _signal() being called. You need to make sure to handle
|
||||
* that! */
|
||||
void pa_threaded_mainloop_wait(pa_threaded_mainloop *m);
|
||||
|
||||
/** Signal all threads waiting for a signalling event in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue