Class to return exit codes from STAPL applications. More...
Public Member Functions | |
exit_code (int code) | |
exit_code & | operator= (exit_code const &)=delete |
void | wait (void) const |
Waits for all locations to create an instance of exit_code and call wait(). More... | |
int | get_code (void) const noexcept |
bool | operator== (const int code) const noexcept |
bool | operator!= (const int code) const noexcept |
Class to return exit codes from STAPL applications.
A 0
exit code requires SPMD creation of an exit_code object, whereas a non 0
exit code does not. As such, the following uses are correct:
whereas the following is not:
int
. void stapl::exit_code::wait | ( | void | ) | const |