Use pa_read, pa_write and pa_poll instead of system functions

This commit is contained in:
Maarten Bosmans 2011-01-05 19:50:44 +01:00
parent 30c7c95184
commit 821562b9bc
4 changed files with 14 additions and 14 deletions

View file

@ -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);