![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Functions for handling the lifetime of Sunshine. More...
Functions | |
| void | debug_trap () |
| Breaks into the debugger or terminates Sunshine if no debugger is attached. | |
| void | exit_sunshine (int exit_code, bool async) |
| Terminates Sunshine gracefully with the provided exit code. | |
| 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::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. |