projects
/
gapil.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Chiarimento prctl per PR_SET_CHILD_SUBREAPER e PR_GET_CHILD_SUBREAPER
[gapil.git]
/
listati
/
pselect_norace.c
1
while (1) {
2
sigprocmask(SIG_BLOCK, &newmask, &oldmask);
3
if (receive_signal != 0) handle_signal();
4
n = pselect(nfd, rset, wset, eset, NULL, &oldmask);
5
sigprocmask(SIG_SETMASK, &oldmask, NULL);
6
if (n < 0) {
7
if (errno == EINTR) {
8
continue;
9
}
10
} else {
11
handle_filedata();
12
}
13
}