|
cppnet
C++ network utilities for asynchronous servers.
|
This namespace is for timers and interrupts. More...
Namespaces | |
| namespace | detail |
| Internal timer implementation details. | |
Classes | |
| struct | interrupt |
| An interrupt is an immediately run timer event. More... | |
| struct | socketpair_interrupt_source_t |
| A socketpair interrupt source. More... | |
| class | timers |
| Provides event-loop timers. More... | |
Typedefs | |
| using | timer_id = std::size_t |
| timer_id type. | |
| using | handler_t = std::function< void(timer_id)> |
| handler type. | |
| using | clock = std::chrono::steady_clock |
| clock type. | |
| using | timestamp = std::chrono::time_point< clock > |
| time type. | |
| using | duration = std::chrono::microseconds |
| duration type. | |
This namespace is for timers and interrupts.