Lines Matching defs:Semaphore
2441 class Semaphore : public StackObj {
2443 Semaphore();
2444 ~Semaphore();
2454 Semaphore::Semaphore() {
2458 Semaphore::~Semaphore() {
2462 void Semaphore::signal() {
2466 void Semaphore::wait() {
2470 bool Semaphore::trywait() {
2474 bool Semaphore::timedwait(unsigned int sec, int nsec) {
2531 static Semaphore sr_semaphore;