| 370 | } |
| 371 | |
| 372 | void TContExecutor::Exit(TCont* cont) noexcept { |
| 373 | ScheduleToDelete(cont); |
| 374 | cont->SwitchTo(&SchedContext_); |
| 375 | Y_ABORT("can not return from exit"); |
| 376 | } |
| 377 | |
| 378 | TInstant TContExecutor::Now() { |
| 379 | return Y_LIKELY(Time_ == nullptr) ? TInstant::Now() : Time_->Now(); |