NAME
A function of omni::application::signal_handler
omni::application::signal_handler::ignore
A function of omni::application::signal_handler
#include <omni/application.hpp>
void omni::application::signal_handler::ignore(bool doignore)
DESCRIPTION
If
top
If
ignore is called with value of true then all signals sent to the application will be ignored until the function is called again with a value of false passed in. If a signal is sent while ignore is true, the last signal sent will still be set but no handlers will be invoked.
top
PARAMETERS top
doignore - If true, application will ignore subsequent signals sent. A value of false will resume normal capture operations.
CONSIDERATIONS
This function will only have an effect if you have explicitly called one of the
top
This function will only have an effect if you have explicitly called one of the
omni::application::run functions to block the main thread until program completion.
top
NOTES
Since the signals can be raised on different threads, it's important to take care of any multi-threaded issues that might arise when using any of the signal handlers.
top
Since the signals can be raised on different threads, it's important to take care of any multi-threaded issues that might arise when using any of the signal handlers.
top