This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [BZ #19137] i386/epoll_pwait.S doesn't support cancellation


On 10/15/2015 02:19 PM, H.J. Lu wrote:
> Only i386 implements epoll_pwait in assembly code withot cancellation
> support.  All other architectures implement epoll_pwait in epoll_pwait.c
> with
> 
> int epoll_pwait (int epfd, struct epoll_event *events,
> 		 int maxevents, int timeout,
> 		 const sigset_t *set)
> {
>   return SYSCALL_CANCEL (epoll_pwait, epfd, events, maxevents,
> 			 timeout, set, _NSIG / 8);
> }
> 
> Although there is no test for epoll_pwait in glibc, since SYSCALL_CANCEL
> works on i386 and epoll_pwait.c works for other architectures, it is
> safe to assume that epoll_pwait.c with SYSCALL_CANCEL also works on
> i386.
> 
> Tested on i686.  OK for master?

Okay.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]