chao.an 155860ad15 sys/epoll: move the private handle to epoll_data_t
sync the struct epoll_event define with linux:

Linux Programmer's Manual:

DESCRIPTION

  EPOLL_CTL_DEL
    ...
       The event argument describes the object linked to the file descriptor
       fd.  The struct epoll_event is defined as:

           typedef union epoll_data {
               void        *ptr;
               int          fd;
               uint32_t     u32;
               uint64_t     u64;
           } epoll_data_t;

           struct epoll_event {
               uint32_t     events;      /* Epoll events */
               epoll_data_t data;        /* User data variable */
           };

https: //man7.org/linux/man-pages/man2/epoll_ctl.2.html

Change-Id: I3ad447b485fd331190e461a198ef7c39301eb1bb
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-08-17 23:41:13 -05:00
..
2020-04-11 21:19:47 +01:00
2020-06-15 08:07:19 -06:00
2020-02-28 18:18:50 -06:00
2020-07-04 11:10:29 +09:00
2020-04-30 08:46:21 -06:00
2020-04-30 08:46:21 -06:00
2020-08-11 16:44:42 +09:00
2019-08-04 07:18:58 -06:00
2020-04-11 21:19:47 +01:00
2020-05-27 05:40:37 -06:00
2020-07-04 11:10:29 +09:00
2020-08-14 03:44:26 -07:00
2020-05-11 11:32:55 -04:00
2020-07-21 21:48:18 -07:00