| 1119 | } |
| 1120 | |
| 1121 | void TaskGroup::yield(TaskGroup** pg) { |
| 1122 | TaskGroup* g = *pg; |
| 1123 | ReadyToRunArgs args = { g->tag(), g->_cur_meta, false }; |
| 1124 | g->set_remained(ready_to_run_in_worker, &args); |
| 1125 | sched(pg); |
| 1126 | } |
| 1127 | |
| 1128 | void print_task(std::ostream& os, bthread_t tid, bool enable_trace, |
| 1129 | bool ignore_not_matched = false) { |
nothing calls this directly
no test coverage detected