turbolift-core
turbolift-core
API
turbolift
effects
Broken
Choice
ChoiceEffect
handlers
ChoiceSignature
Console
ConsoleEffect
handlers
ConsoleSignature
Cont
ContSignature
CoroutineEffect
CoroutineEffect
Step
Exit
Yield
CoroutineSignature
Each
Error
ErrorEffect
handlers
ErrorG
ErrorGK
ErrorK
ErrorSignature
Finalizer
FinalizerEffect
FinalizerEffect
FinalizerEffectIO
FinalizerSignature
IO
IO
LazyMemoizer
LazyMemoizerEffect
handlers
LazyMemoizerSignature
Maybe
Maybe
MaybeEffect
handlers
MaybeSignature
Memoizer
MemoizerEffect
handlers
MemoizerSignature
Random
RandomEffect
handlers
RandomSignature
Reader
ReaderEffect
handlers
ReaderSignature
State
StateEffect
handlers
StateSignature
Writer
WriterEffect
handlers
WriterG
WriterGK
WriterK
WriterSignature
handlers
Splitmix64
internals
auxx
CanPipe
CanPipe
effect
CanPerform
EffectImpl
Proxy
Stateful
Stateless
ThisInterpreter
engine
stacked
Engine
Step
Tag
executor
Executor
Executor
extensions
FoldExtensions
MiscExtensions
TraverseExtensions
interpreter
Continuation
Control
Features_opaque
Interpreter
Interpreter
Proxy
Stateful
Stateless
Local
Mixins
Parallel
Default
ForkJoin
Trivial
Parallel
Sequential
Default
Restartable
Sequential
Prompt
Void
Void
io
AtomicVar
AtomicVar
Get
Lockful
Put
Cause
Cause
Aborted
Both
Cancelled
Then
Thrown
Channel
Channel
Base
Get
Put
Status
Coroutine
Coroutine
CountDownLatch
CountDownLatch
CyclicBarrier
CyclicBarrier
EffectfulVar
EffectfulVar
Get
Put
Exceptions
Aborted
Cancelled
Panic
Pending
TieTheKnot
Unhandled
Fiber
Fiber
NamedSyntax
Role
Arbiter
Waiter
Status
Pending
Completed
Loom
Loom
Mutex
Mutex
OnceVar
OnceVar
Get
Put
Outcome
Outcome
Cancelled
Failure
Failure
NotSuccess
Success
ReentrantLock
ReentrantLock
Status
Locked
ResourceFactory
ResourceFactory
Closeable
Semaphore
Semaphore
Snap
Snap
Aborted
Cancelled
Failure
NotSuccess
Success
Warp
Warp
ExitMode
Status
Pending
handlers
Zipper
Zipper
mode
Mode
Mode
typeclass
Accum
Accum
AccumZero
AccumZero
KeyCollision
forInt
forLong
forString
forUnit
ExtendTuple
ExtendTuple
One
One
Plus
Plus
PlusZero
PlusZero
Syntax
Zero
Zero
Computation
Computation
HandleWithSyntax
NamedSyntax
NamedSyntax
ComputationCases
FlatMap
Impure
Intrinsic
LocalGetsEff
LocalModify
LocalUpdate
Perform
PureMap
Sync
Effect
Effect
Combine2
Combine3
Combine4
Extensions
Handler
PartiallyProvideWithSyntax
Handler
Signature
turbolift-core
/
turbolift
/
turbolift.io
/
ReentrantLock
ReentrantLock
turbolift.io.ReentrantLock
See the
ReentrantLock
companion object
sealed
trait
ReentrantLock
Attributes
Companion
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Members list
Clear all
Value members
Abstract methods
def
unsafeRelease
(
):
Unit
def
unsafeStatus
(
):
Status
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
]
In this article
Attributes
Members list
Value members
Abstract methods
Concrete methods