Example usage for Java android.os ConditionVariable fields, constructors, methods, implement or subclass
The text is from its open source code.
ConditionVariable(boolean state) Create the ConditionVariable with the given state. | |
ConditionVariable() Create the ConditionVariable in the default closed state. |
boolean | block(long timeout) Block the current thread until the condition is opened or until timeout milliseconds have passed. |
void | block() Block the current thread until the condition is opened. |
void | close() Reset the condition to the closed state. |
void | open() Open the condition, and release all threads that are blocked. |