summaryrefslogtreecommitdiffstats
path: root/src/tests/thread-mainloop-test.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-05-11 13:01:24 +0000
committerLennart Poettering <lennart@poettering.net>2006-05-11 13:01:24 +0000
commite929aabc032ee91705acc8571f09affe41e297ae (patch)
tree98493a84b5d1824a0d9caf6648686ef039e5646a /src/tests/thread-mainloop-test.c
parentdbf62d4bc5e984fb33b39292cb5268e73ec8a17a (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/tests/thread-mainloop-test.c')
-rw-r--r--src/tests/thread-mainloop-test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/thread-mainloop-test.c b/src/tests/thread-mainloop-test.c
index 1434deb9..8ca3f92f 100644
--- a/src/tests/thread-mainloop-test.c
+++ b/src/tests/thread-mainloop-test.c
@@ -59,7 +59,9 @@ int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) {
fprintf(stderr, "waiting 5s (signal)\n");
pa_threaded_mainloop_wait(m);
fprintf(stderr, "wait completed\n");
-
+ pa_threaded_mainloop_accept(m);
+ fprintf(stderr, "signal accepted\n");
+
pa_threaded_mainloop_unlock(m);
fprintf(stderr, "waiting 5s (sleep)\n");