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/tests/thread-mainloop-test.c | |
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/tests/thread-mainloop-test.c')
-rw-r--r-- | src/tests/thread-mainloop-test.c | 4 |
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"); |