projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use pa_read, pa_write and pa_poll instead of system functions
[profile/ivi/pulseaudio-panda.git]
/
src
/
daemon
/
cpulimit.c
diff --git
a/src/daemon/cpulimit.c
b/src/daemon/cpulimit.c
index
f5042a7
..
c1c2a6f
100644
(file)
--- a/
src/daemon/cpulimit.c
+++ b/
src/daemon/cpulimit.c
@@
-140,7
+140,7
@@
static void signal_handler(int sig) {
write_err("Soft CPU time limit exhausted, terminating.\n");
/* Try a soft cleanup */
- (void)
write(the_pipe[1], &c, sizeof(c)
);
+ (void)
pa_write(the_pipe[1], &c, sizeof(c), NULL
);
phase = PHASE_SOFT;
reset_cpu_time(CPUTIME_INTERVAL_HARD);