Loading...
Searching...
No Matches
by::sigZone Class Reference

Signal handler zone management. More...

#include <sigZone.hpp>

Inheritance diagram for by::sigZone:
by::defaultSigZone< W >

Public Member Functions

 sigZone (const sigHandler &handler)
 
me & prepare (sigHandler handler)
 
me & setHandler ()
 
void relHandler ()
 

Detailed Description

Signal handler zone management.

RAII wrapper for signaler that manages signal handler registration and cleanup. When a sigZone instance is defined within a block scope, it uses signaler to execute a lambda function if a signal arrives during code execution within that block.


The documentation for this class was generated from the following file:
to Top