mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
Use pa_read, pa_write and pa_poll instead of system functions
This commit is contained in:
parent
30c7c95184
commit
821562b9bc
4 changed files with 14 additions and 14 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue