22#ifndef LELY_IO_POLL_HPP_
23#define LELY_IO_POLL_HPP_
26#error "include <lely/io/poll.h> for the C interface"
52 return __io_poll_alloc();
55 free(
void* ptr)
noexcept {
61 return __io_poll_init(p);
78 bool keep =
false)
noexcept {
88 signal(
unsigned char sig)
noexcept {
This header file is part of the utilities library; it contains the C to C++ interface declarations.
An opaque I/O polling interface type.
The base class for a C++ interface to an incomplete C type.
This header file is part of the I/O library; it contains I/O polling interface declarations.
int io_poll_signal(io_poll_t *poll, unsigned char sig)
Generates a signal event.
int io_poll_wait(io_poll_t *poll, int maxevents, struct io_event *events, int timeout)
Waits at most timeout milliseconds for at most maxevents I/O events to occur for any of the I/O devic...
lely::IOPoll io_poll_t
An opaque I/O polling interface type.
An I/O polling interface.
An object representing a file descriptor being monitored for I/O events.
A class template supplying a uniform interface to certain attributes of C types.