![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <signals-impl.hh>
Public Member Functions | |
| ~ReceiveInterrupts () | |
Public Attributes | |
| pthread_t | target |
| std::unique_ptr< InterruptCallback > | callback |
A RAII class that causes the current thread to receive NIX_SIG_MULTI_INT when the signal handler thread receives SIGINT. That is, this allows SIGINT to be multiplexed to multiple threads.
Does nothing, unlike Unix counterpart, but allows avoiding C++
|
inline |
Explicit destructor avoids dead code warnings.