Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::ReceiveInterrupts Struct Reference

#include <signals-impl.hh>

Public Member Functions

 ~ReceiveInterrupts ()

Public Attributes

pthread_t target
std::unique_ptr< InterruptCallback > callback

Detailed Description

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++

Constructor & Destructor Documentation

◆ ~ReceiveInterrupts()

nix::ReceiveInterrupts::~ReceiveInterrupts ( )
inline

Explicit destructor avoids dead code warnings.


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