18#ifndef _DECAF_UTIL_CONCURRENT_LOCKS_CONDITION_H_
19#define _DECAF_UTIL_CONCURRENT_LOCKS_CONDITION_H_
Wrapper class around a time value in milliseconds.
Definition: Date.h:34
A TimeUnit represents time durations at a given unit of granularity and provides utility methods to c...
Definition: TimeUnit.h:62
Condition factors out the Mutex monitor methods (wait, notify and notifyAll) into distinct objects to...
Definition: Condition.h:132
virtual void signal()=0
Wakes up one waiting thread.
virtual void signalAll()=0
Wakes up all waiting threads.
virtual void awaitUninterruptibly()=0
Causes the current thread to wait until it is signalled.
virtual bool awaitUntil(const Date &deadline)=0
virtual bool await(long long time, const TimeUnit &unit)=0
Causes the current thread to wait until it is signaled or interrupted, or the specified waiting time ...
virtual long long awaitNanos(long long nanosTimeout)=0
Causes the current thread to wait until it is signaled or interrupted, or the specified waiting time ...
virtual void await()=0
Causes the current thread to wait until it is signaled or interrupted.
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25