Searched defs:Semaphore (Results 1 – 1 of 1) sorted by relevance
39 struct Semaphore { struct41 explicit Semaphore(int count = 0) : count_(count) {} in Semaphore() function42 ~Semaphore() {} in ~Semaphore() argument49 void Down() in Down()58 void Up() in Up()85 workerSems_.push_back(std::make_shared<Semaphore>()); in StartWorkers() argument