TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
signal_handler.hpp

Detailed Description

Provides a signal handler for the TRIQS library.

Definition in file signal_handler.hpp.

Go to the source code of this file.

Classes

class  triqs::signal_handler::exception
 Empty exception type that callers may use to signal a graceful shutdown. More...

Namespaces

namespace  triqs::signal_handler
 Signal handling utilities for the TRIQS library.

Functions

int triqs::signal_handler::last ()
 Integer identifier of the most recently received signal.
void triqs::signal_handler::pop ()
 Pop the most recently received signal from the queue (no-op if empty).
bool triqs::signal_handler::received (bool pop=false)
 Whether at least one signal has been queued since the last reset.
void triqs::signal_handler::start ()
 Install the TRIQS signal handler.
void triqs::signal_handler::stop ()
 Restore the previous signal disposition.