omni::application

SYNOPSIS

The application namespace contains functionality that can be used application wide, to include signal handling or application run contexts.

top

DESCRIPTION

The application namespace can be utilized to block the main thread to avoid early program termination, attach and detach signal handlers as well as startup and shutdown handlers. The namespace contains functionality that applies to an application wide context, such as the bit size (32/64 bit), arguments passed in or the last signal received on the application.

top

RETURN VALUES

No return value.

top

ERRORS

No errors specific to this context.

top

CONSIDERATIONS

Some functions within the namespace will only work if you have explicitly called one of the omni::application::run functions to block the main thread until program completion.

top

PLATFORM SPECIFIC

Certain functions within the application namespace make use of different platform specific API's; make sure to take note of any details in this section when targeting specific platforms if things are not as expected.

top

NOTES

No additional notes.

top

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

top