ConditionVariable

Class of android.os · ConditionVariable.java · Android's reference

public class ConditionVariable

A condition that threads block on until another thread opens it.

Constructors

public ConditionVariable() empty body source
public ConditionVariable(boolean state) source

Methods

public synchronized void open() source
public synchronized void close() source
public synchronized void block() source
public synchronized boolean block(long timeoutMs) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.