mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 14:13:42 -04:00
0f865a019a
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
8 lines
99 B
C
8 lines
99 B
C
#pragma once
|
|
|
|
#include_next <sys/epoll.h>
|
|
|
|
#ifndef EPOLLWAKEUP
|
|
#define EPOLLWAKEUP (1U<<29)
|
|
#endif
|