#include "types.hh"
#include "error.hh"
#include "logging.hh"
#include <functional>
#include "signals-impl.hh"
Go to the source code of this file.
◆ checkInterrupt()
void nix::checkInterrupt |
( |
| ) |
|
|
inline |
- Note
- Does nothing on Windows
◆ createInterruptCallback()
std::unique_ptr< InterruptCallback > nix::createInterruptCallback |
( |
std::function< void()> | callback | ) |
|
Register a function that gets called on SIGINT (in a non-signal context).
- Note
- Does nothing on Windows
◆ MakeError()
- Note
- Never will happen on Windows
◆ setInterruptThrown()
void nix::setInterruptThrown |
( |
| ) |
|
- Note
- Does nothing on Windows