mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
split of signal releasing into its own function and name it pa_threaded_mainloop_accept()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@844 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
dbf62d4bc5
commit
e929aabc03
3 changed files with 24 additions and 10 deletions
|
|
@ -67,9 +67,12 @@ void pa_threaded_mainloop_wait(pa_threaded_mainloop *m);
|
|||
/** Signal all threads waiting for a signalling event in
|
||||
* pa_threaded_mainloop_wait(). If wait_for_release is non-zero, do
|
||||
* not return before the signal was accepted by a
|
||||
* pa_threaded_mainloop_wait() call. While waiting for that condition
|
||||
* pa_threaded_mainloop_accept() call. While waiting for that condition
|
||||
* the event loop object is unlocked. */
|
||||
void pa_threaded_mainloop_signal(pa_threaded_mainloop *m, int wait_for_release);
|
||||
void pa_threaded_mainloop_signal(pa_threaded_mainloop *m, int wait_for_accept);
|
||||
|
||||
/** Accept a signal from the event thread issued with pa_threaded_mainloop_signal() */
|
||||
void pa_threaded_mainloop_accept(pa_threaded_mainloop *m);
|
||||
|
||||
/** Return the return value as specified with the main loop's quit() routine. */
|
||||
int pa_threaded_mainloop_get_retval(pa_threaded_mainloop *m);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue