| 953 | }; |
| 954 | |
| 955 | static void ready_to_run_from_timer_thread(void* arg) { |
| 956 | CHECK(tls_task_group == NULL); |
| 957 | const SleepArgs* e = static_cast<const SleepArgs*>(arg); |
| 958 | auto g = e->group; |
| 959 | auto tag = g->tag(); |
| 960 | g->control()->choose_one_group(tag)->ready_to_run_remote(e->meta); |
| 961 | } |
| 962 | |
| 963 | void TaskGroup::_add_sleep_event(void* void_args) { |
| 964 | // Must copy SleepArgs. After calling TimerThread::schedule(), previous |
nothing calls this directly
no test coverage detected