Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux_event.h
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | |||||
#define LINUX_EPOLL_EVSUP (LINUX_EPOLLET|LINUX_EPOLLONESHOT \ | #define LINUX_EPOLL_EVSUP (LINUX_EPOLLET|LINUX_EPOLLONESHOT \ | ||||
|LINUX_EPOLLHUP|LINUX_EPOLLERR|LINUX_EPOLLPRI \ | |LINUX_EPOLLHUP|LINUX_EPOLLERR|LINUX_EPOLLPRI \ | ||||
|LINUX_EPOLL_EVRD|LINUX_EPOLL_EVWR|LINUX_EPOLLRDHUP) | |LINUX_EPOLL_EVRD|LINUX_EPOLL_EVWR|LINUX_EPOLLRDHUP) | ||||
#define LINUX_EPOLL_CTL_ADD 1 | #define LINUX_EPOLL_CTL_ADD 1 | ||||
#define LINUX_EPOLL_CTL_DEL 2 | #define LINUX_EPOLL_CTL_DEL 2 | ||||
#define LINUX_EPOLL_CTL_MOD 3 | #define LINUX_EPOLL_CTL_MOD 3 | ||||
#define LINUX_EFD_SEMAPHORE (1 << 0) | |||||
kib: I do not think this constant should be removed. It is Linux ABI. | |||||
val_packett.coolUnsubmitted Done Inline ActionsWith our EFD_SEMAPHORE being equivalent I thought it would be an unnecessary duplication, but sure, let's keep it for consistency val_packett.cool: With our `EFD_SEMAPHORE` being equivalent I thought it would be an unnecessary duplication, but… | |||||
#define LINUX_TFD_TIMER_ABSTIME (1 << 0) | #define LINUX_TFD_TIMER_ABSTIME (1 << 0) | ||||
#define LINUX_TFD_TIMER_CANCEL_ON_SET (1 << 1) | #define LINUX_TFD_TIMER_CANCEL_ON_SET (1 << 1) | ||||
#define LINUX_TFD_CLOEXEC LINUX_O_CLOEXEC | #define LINUX_TFD_CLOEXEC LINUX_O_CLOEXEC | ||||
#define LINUX_TFD_NONBLOCK LINUX_O_NONBLOCK | #define LINUX_TFD_NONBLOCK LINUX_O_NONBLOCK | ||||
#define LINUX_TFD_SHARED_FCNTL_FLAGS (LINUX_TFD_CLOEXEC \ | #define LINUX_TFD_SHARED_FCNTL_FLAGS (LINUX_TFD_CLOEXEC \ | ||||
|LINUX_TFD_NONBLOCK) | |LINUX_TFD_NONBLOCK) | ||||
#define LINUX_TFD_CREATE_FLAGS LINUX_TFD_SHARED_FCNTL_FLAGS | #define LINUX_TFD_CREATE_FLAGS LINUX_TFD_SHARED_FCNTL_FLAGS | ||||
#define LINUX_TFD_SETTIME_FLAGS (LINUX_TFD_TIMER_ABSTIME \ | #define LINUX_TFD_SETTIME_FLAGS (LINUX_TFD_TIMER_ABSTIME \ | ||||
|LINUX_TFD_TIMER_CANCEL_ON_SET) | |LINUX_TFD_TIMER_CANCEL_ON_SET) | ||||
#endif /* !_LINUX_EVENT_H_ */ | #endif /* !_LINUX_EVENT_H_ */ |
I do not think this constant should be removed. It is Linux ABI.