From e929aabc032ee91705acc8571f09affe41e297ae Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 May 2006 13:01:24 +0000 Subject: 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 --- src/polyp/thread-mainloop.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/polyp/thread-mainloop.h') diff --git a/src/polyp/thread-mainloop.h b/src/polyp/thread-mainloop.h index d4762e27..d0bfd5ae 100644 --- a/src/polyp/thread-mainloop.h +++ b/src/polyp/thread-mainloop.h @@ -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); -- cgit