boost::corosio::native_signal_set
An asynchronous signal set with devirtualized wait operations.
Synopsis
template<auto Backend>
class native_signal_set
: public signal_set
Description
This class template inherits from signal_set and shadows the wait operation with a version that calls the backend implementation directly, allowing the compiler to inline through the entire call chain.
Non‐async operations (add, remove, clear, cancel) remain unchanged and dispatch through the compiled library.
A native_signal_set IS‐A signal_set and can be passed to any function expecting signal_set&.
Thread Safety
Same as signal_set.
Types
Name |
Description |
RAII wrapper for I/O object implementation lifetime. |
|
Define backend hooks for signal set operations. |
|
Service interface for I/O object lifecycle management. |
Member Functions
Name |
Description |
|
Constructors |
|
Assignment operators |
|
|
Cancel all operations associated with the signal set. |
|
Remove all signals from the signal set. |
|
Return the execution context. |
|
Remove a signal from the signal set. |
|
Wait for a signal to be delivered. |
Protected Member Functions
Name |
Description |
|
Assignment operators |
|
Dispatch cancel to the concrete implementation. |
Protected Static Member Functions
Name |
Description |
Create a handle bound to a service found in the context. |
Template Parameters
Name |
Description |
Backend |
A backend tag value (e.g., |
See Also
signal_set, epoll_t, iocp_t
Created with MrDocs