[PATCH v4 6/9] epoll: Add implementation for epoll_pwait1

2015-03-09 Thread Fam Zheng
This is the new implementation for poll which has a flags parameter and packs a number of parameters into a structure. The main advantage of it over existing epoll_pwait is about timeout: epoll_pwait expects a relative millisecond value, while epoll_pwait1 accepts 1) a timespec which is in

[PATCH v4 6/9] epoll: Add implementation for epoll_pwait1

2015-03-09 Thread Fam Zheng
This is the new implementation for poll which has a flags parameter and packs a number of parameters into a structure. The main advantage of it over existing epoll_pwait is about timeout: epoll_pwait expects a relative millisecond value, while epoll_pwait1 accepts 1) a timespec which is in