| 30 | } |
| 31 | |
| 32 | Thread* ThreadMgr::GetThrd(int64_t thrd_id) { |
| 33 | auto iter = threads_.find(thrd_id); |
| 34 | CHECK(iter != threads_.end()) << " Thread: " << thrd_id << " not found"; |
| 35 | return iter->second.get(); |
| 36 | } |
| 37 | |
| 38 | void ThreadMgr::AddThreads(const HashSet<int64_t>& thread_ids) { |
| 39 | const int64_t this_rank = GlobalProcessCtx::Rank(); |
no test coverage detected