|
Hermes 0.7.0
Linux game streaming host
|
Functions for handling the lifetime of Sunshine. More...
Functions | |
| void | exit_sunshine (int exit_code, bool async) |
| Terminates Sunshine gracefully with the provided exit code. | |
| void | debug_trap () |
| Breaks into the debugger or terminates Sunshine if no debugger is attached. | |
| char ** | get_argv () |
| Get the argv array passed to main(). | |
Variables | |
| char ** | argv |
| std::atomic_int | desired_exit_code |
Functions for handling the lifetime of Sunshine.
| void lifetime::debug_trap | ( | ) |
Breaks into the debugger or terminates Sunshine if no debugger is attached.
Definition at line 73 of file entry_handler.cpp.
| void lifetime::exit_sunshine | ( | int | exit_code, |
| bool | async ) |
Terminates Sunshine gracefully with the provided exit code.
| exit_code | The exit code to return from main(). |
| async | Specifies whether our termination will be non-blocking. |
Definition at line 58 of file entry_handler.cpp.
| char ** lifetime::get_argv | ( | ) |
Get the argv array passed to main().
Definition at line 79 of file entry_handler.cpp.
| char ** lifetime::argv |
Definition at line 55 of file entry_handler.cpp.
| std::atomic_int lifetime::desired_exit_code |
Definition at line 56 of file entry_handler.cpp.