@brief Lazy-init the runner's platform context (created on first use)
| 49 | |
| 50 | /// @brief Lazy-init the runner's platform context (created on first use) |
| 51 | static void* get_runner_ctx() FL_NOEXCEPT { |
| 52 | auto& g = globals(); |
| 53 | if (!g.runner_ctx) { |
| 54 | g.runner_ctx = ICoroutinePlatform::instance().createRunnerContext(); |
| 55 | } |
| 56 | return g.runner_ctx; |
| 57 | } |
| 58 | |
| 59 | //============================================================================= |
| 60 | // CoroutineContext Implementation |
no test coverage detected