projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f52fb64
)
if we are exiting due to cpu overload, say so via syslog, too
author
Lennart Poettering
<lennart@poettering.net>
Fri, 5 Sep 2008 01:18:36 +0000
(
03:18
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 5 Sep 2008 01:18:36 +0000
(
03:18
+0200)
src/daemon/cpulimit.c
patch
|
blob
|
history
diff --git
a/src/daemon/cpulimit.c
b/src/daemon/cpulimit.c
index
5955282
..
a909600
100644
(file)
--- a/
src/daemon/cpulimit.c
+++ b/
src/daemon/cpulimit.c
@@
-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(fd == the_pipe[0]);
+ pa_log("Recevied request to terminate due to CPU overload.");
+
pa_read(the_pipe[0], &c, sizeof(c), NULL);
m->quit(m, 1); /* Quit the main loop */
}