Provide condition variable abstraction on JVM.