projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Altre revisioni e aggiunta epoll_pwait
[gapil.git]
/
listati
/
epoll_pwait_means.c
diff --git a/listati/epoll_pwait_means.c
b/listati/epoll_pwait_means.c
new file mode 100644
(file)
index 0000000..
75645f1
--- /dev/null
+++ b/
listati/epoll_pwait_means.c
@@ -0,0
+1,5
@@
+sigset_t origmask;
+
+sigprocmask(SIG_SETMASK, &sigmask, &origmask);
+ready = epoll_wait(epfd, &events, maxevents, timeout);
+sigprocmask(SIG_SETMASK, &origmask, NULL);