cppnet
C++ network utilities for asynchronous servers.
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
net::timers::interrupt< Source > Struct Template Reference

An interrupt is an immediately run timer event. More...

#include <net/timers/interrupt.hpp>

Inherits Source.

Public Types

using interrupt_source_t = Source
 The underlying interrupt source type.
 

Public Member Functions

auto operator() () const noexcept -> void
 Calls the underlying interrupt.
 

Detailed Description

template<InterruptSource Source>
struct net::timers::interrupt< Source >

An interrupt is an immediately run timer event.

Template Parameters
InterruptAn interrupt source tag compliant with the InterruptSoruce concept.

Interrupts are used to awaken sleeping event-loops.


The documentation for this struct was generated from the following file: