Searched refs:workerSems_ (Results 1 – 1 of 1) sorted by relevance
85 workerSems_.push_back(std::make_shared<Semaphore>()); in StartWorkers()89 workerSems_[0]->Up(); in StartWorkers()107 for (auto& sem : workerSems_) { in StopWorkers()130 auto sem = workerSems_[id]; in Work()154 auto nextId = static_cast<unsigned int>(id + 1) % workerSems_.size(); in Work()155 auto nextSem = workerSems_[nextId]; in Work()165 std::vector<std::shared_ptr<Semaphore>> workerSems_; member