summaryrefslogtreecommitdiffstats
path: root/src/tests/thread-mainloop-test.c
diff options
context:
space:
mode:
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");