| 147 | bool currentThreadInExecutor() const override { return true; } |
| 148 | Context checkout() override { return NULLCTX; } |
| 149 | bool checkin(Func func, Context ctx, ScheduleOptions opts) override { |
| 150 | return schedule(std::move(func)); |
| 151 | } |
| 152 | }; |
| 153 | |
| 154 | // reschedule uthread to two different executor is not thread-safe |
no test coverage detected