in scala/concurrent
class Lock

class Lock()
extends Object
with ScalaObject

Method Summary
  def acquire: Unit
  var available: Boolean
  def release: Unit

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Method Detail

available

  var available: Boolean

acquire

  def acquire: Unit

release

  def release: Unit