1
0
Fork 0
alistair23-linux/arch
Davide Libenzi b611967de4 [PATCH] epoll_pwait()
Implement the epoll_pwait system call, that extend the event wait mechanism
with the same logic ppoll and pselect do.  The definition of epoll_pwait
is:

int epoll_pwait(int epfd, struct epoll_event *events, int maxevents,
                 int timeout, const sigset_t *sigmask, size_t sigsetsize);

The difference between the vanilla epoll_wait and epoll_pwait is that the
latter allows the caller to specify a signal mask to be set while waiting
for events.  Hence epoll_pwait will wait until either one monitored event,
or an unmasked signal happen.  If sigmask is NULL, the epoll_pwait system
call will act exactly like epoll_wait.  For the POSIX definition of
pselect, information is available here:

http://www.opengroup.org/onlinepubs/009695399/functions/select.html

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Andi Kleen <ak@muc.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-11 11:14:21 -07:00
..
alpha [PATCH] fallout from alpha pt_regs patches 2006-10-09 14:19:07 -07:00
arm IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
arm26 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
avr32 [PATCH] IRQ: Fix AVR32 breakage 2006-10-11 11:14:14 -07:00
cris more misc typo fixes 2006-10-03 22:34:14 +02:00
frv IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
h8300 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
i386 [PATCH] epoll_pwait() 2006-10-11 11:14:21 -07:00
ia64 [PATCH] mm: use symbolic names instead of indices for zone initialisation 2006-10-11 11:14:14 -07:00
m32r [PATCH] m32r pt_regs fixes 2006-10-07 10:51:15 -07:00
m68k [PATCH] m68k/MVME167: SERIAL167 is no longer broken 2006-10-09 14:54:46 -07:00
m68knommu Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
mips [MIPS] Make sure cpu_has_fpu is used only in atomic context 2006-10-09 23:20:48 +01:00
parisc [PARISC] More pt_regs removal 2006-10-07 06:01:11 -06:00
powerpc [PATCH] mm: use symbolic names instead of indices for zone initialisation 2006-10-11 11:14:14 -07:00
ppc [PATCH] mm: use symbolic names instead of indices for zone initialisation 2006-10-11 11:14:14 -07:00
s390 [PATCH] s390 traps.c __user annotations 2006-10-09 14:19:08 -07:00
sh fix file specification in comments 2006-10-03 23:01:26 +02:00
sh64 fix file specification in comments 2006-10-03 23:01:26 +02:00
sparc [SPARC32]: Fix prom.c build warning 2006-10-09 18:10:16 -07:00
sparc64 [SPARC64]: Update defconfig. 2006-10-09 17:24:53 -07:00
um [PATCH] uml: allow finer tuning for host VMSPLIT setting 2006-10-11 11:14:21 -07:00
v850 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
x86_64 [PATCH] use struct irq_chip instead of struct hw_interrupt_type 2006-10-11 11:14:14 -07:00
xtensa fix file specification in comments 2006-10-03 23:01:26 +02:00