mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
if we are exiting due to cpu overload, say so via syslog, too
This commit is contained in:
parent
f52fb64313
commit
89ed50750e
1 changed files with 2 additions and 0 deletions
|
|
@ -167,6 +167,8 @@ static void callback(pa_mainloop_api*m, pa_io_event*e, int fd, pa_io_event_flags
|
||||||
pa_assert(e == io_event);
|
pa_assert(e == io_event);
|
||||||
pa_assert(fd == the_pipe[0]);
|
pa_assert(fd == the_pipe[0]);
|
||||||
|
|
||||||
|
pa_log("Recevied request to terminate due to CPU overload.");
|
||||||
|
|
||||||
pa_read(the_pipe[0], &c, sizeof(c), NULL);
|
pa_read(the_pipe[0], &c, sizeof(c), NULL);
|
||||||
m->quit(m, 1); /* Quit the main loop */
|
m->quit(m, 1); /* Quit the main loop */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue