omni::application::signal_handler::detach

SYNOPSIS

Detaches a delegate from the underlying system signal handler.

top

DESCRIPTION

Detaching a specific delegate will stop that function from receiving system signal events. Detaching a delegate that has not been initially attached has no effect.

top

PARAMETERS top

sig_func - The omni::application::signal_handler::callback function delegate to detach from the signal handler event.

RETURN VALUES

No return value.

top

ERRORS

No errors specific to this context.

top

CONSIDERATIONS

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

PLATFORM SPECIFIC

On Windows based platforms, this will also detach from the system signal events (as described), as well as the console control handler.

top

NOTES

No additional notes.

top

EXAMPLE
Currently no examples.
Visit the examples page for more.

top