diff options
Diffstat (limited to 'src/select')
-rw-r--r-- | src/select/pselect.c | 1 | ||||
-rw-r--r-- | src/select/select.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/select/pselect.c b/src/select/pselect.c index 63ea069..155a6eb 100644 --- a/src/select/pselect.c +++ b/src/select/pselect.c @@ -10,6 +10,7 @@ int pselect(int n, fd_set *rfds, fd_set *wfds, fd_set *efds, const struct timesp if (ts) ts_tmp = *ts; CANCELPT_BEGIN; r = syscall(SYS_pselect6, n, rfds, wfds, efds, ts ? &ts_tmp : 0, data); + CANCELPT_TRY; CANCELPT_END; return r; } diff --git a/src/select/select.c b/src/select/select.c index 1232271..b38e7fd 100644 --- a/src/select/select.c +++ b/src/select/select.c @@ -7,6 +7,7 @@ int select(int n, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv) int r; CANCELPT_BEGIN; r = syscall(SYS_select, n, rfds, wfds, efds, tv); + CANCELPT_TRY; CANCELPT_END; return r; } |