diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-05-11 13:01:24 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-05-11 13:01:24 +0000 |
commit | e929aabc032ee91705acc8571f09affe41e297ae (patch) | |
tree | 98493a84b5d1824a0d9caf6648686ef039e5646a /src/polyp/thread-mainloop.h | |
parent | dbf62d4bc5e984fb33b39292cb5268e73ec8a17a (diff) |
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
Diffstat (limited to 'src/polyp/thread-mainloop.h')
-rw-r--r-- | src/polyp/thread-mainloop.h | 7 |
1 files changed, 5 insertions, 2 deletions
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); |