ReentrantLock

turbolift.io.ReentrantLock
See theReentrantLock companion object
sealed trait ReentrantLock

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def unsafeRelease(): Unit
def unsafeTryAcquire(owner: Untyped): Boolean

Concrete methods

final def acquire: Computation[Unit, IO]
final def holdCount: Computation[Int, IO]
final def isHeldByCurrentFiber: Computation[Boolean, IO]
final def owner: Computation[Option[Untyped], IO]
final def release: Computation[Unit, IO]
final def status: Computation[Status, IO]
final def tryAcquire: Computation[Boolean, IO]
final def tryUse[A, U <: IO](body: Computation[A, U]): Computation[Option[A], U]
final def use[A, U <: IO](body: Computation[A, U]): Computation[A, U]