| 52 | }; |
| 53 | |
| 54 | void Task::PrepareWait() { |
| 55 | if (nullptr != notifier_) return; |
| 56 | notifier_ = move(comm::NotifierPool::GetInstance()->Get()); |
| 57 | } |
| 58 | |
| 59 | comm::RetCode Task::Wait() { |
| 60 | if (nullptr == notifier_) return comm::RetCode::RET_ERR_NOTIFIER_MISS; |