ardupilot/libraries/AP_Common/missing/sys/epoll.h
Leandro Pereira 0f865a019a AP_HAL_Linux: Add Pollable/Poller
Add system's polling infrastructure to be notified whenever a
file descriptor is ready to be read from or written to.

Adds a few classes:
  * Poller, as an interface to epoll()
  * Pollable, as an interface to a file descriptor
2016-07-30 00:55:27 -03:00

8 lines
99 B
C

#pragma once
#include_next <sys/epoll.h>
#ifndef EPOLLWAKEUP
#define EPOLLWAKEUP (1U<<29)
#endif