mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
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
This commit is contained in:
parent
dbf62d4bc5
commit
e929aabc03
3 changed files with 24 additions and 10 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue