| 304 | } |
| 305 | |
| 306 | sparse_task_queue* AsyncFeatureStoreMgr::GetUpdateSparseTaskQueue(int idx) { |
| 307 | if (idx < 0 || idx >= update_thread_num_) { |
| 308 | LOG(FATAL) << "Error index num: " << idx |
| 309 | << ", update_thread_num is " << update_thread_num_; |
| 310 | } |
| 311 | |
| 312 | return &(update_task_queues_[idx]); |
| 313 | } |
| 314 | |
| 315 | bool AsyncFeatureStoreMgr::ShouldStop() { |
| 316 | return stop_; |
no outgoing calls