| 34 | } |
| 35 | |
| 36 | bool sugoi::scheduler_t::is_main_thread(const sugoi_storage_t* storage) |
| 37 | { |
| 38 | SKR_ASSERT(storage->scheduler == this); |
| 39 | return storage->currentFiber == skr::task::current_fiber(); |
| 40 | } |
| 41 | |
| 42 | void sugoi::scheduler_t::set_main_thread(const sugoi_storage_t* storage) |
| 43 | { |
no test coverage detected