Android.OS.ConditionVariable Class
Class that implements the condition variable locking paradigm.

See Also: ConditionVariable Members

Syntax

[Android.Runtime.Register("android/os/ConditionVariable", DoNotGenerateAcw=true)]
public class ConditionVariable : Java.Lang.Object

Remarks

Class that implements the condition variable locking paradigm.

This differs from the built-in java.lang.Object wait() and notify() in that this class contains the condition to wait on itself. That means open(), close() and block() are sticky. If open() is called before block(), block() will not block, and instead return immediately.

This class uses itself as the object to wait on, so if you wait() or notify() on a ConditionVariable, the results are undefined.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1