![]() |
Sunshine v2025.118.151840
Self-hosted game stream host for Moonlight.
|
Public Member Functions | |
| virtual | operator bool ()=0 |
| Check if platform-specific timer backend has been initialized successfully. | |
| virtual void | sleep_for (const std::chrono::nanoseconds &duration)=0 |
| Sleep for the duration. | |
|
pure virtual |
Check if platform-specific timer backend has been initialized successfully.
true on success, false on error Implemented in platf::linux_high_precision_timer, platf::macos_high_precision_timer, and platf::win32_high_precision_timer.
|
pure virtual |
Sleep for the duration.
| duration | Sleep duration |
Implemented in platf::linux_high_precision_timer, platf::macos_high_precision_timer, and platf::win32_high_precision_timer.