- Companion:
- object
- Source:
- TMVar.scala
Value members
Concrete methods
Store a value. Retries if the TMVar
already
contains a value.
Store a value. Retries if the TMVar
already
contains a value.
- Source:
- TMVar.scala
Read the current value. Retries if empty.
Read the current value. Retries if empty.
- Source:
- TMVar.scala
Read the current value and empty it at the same time. Retries if empty.
Read the current value and empty it at the same time. Retries if empty.
- Source:
- TMVar.scala
Try to store a value. Returns false
if put failed,
true
otherwise.
Try to store a value. Returns false
if put failed,
true
otherwise.
- Source:
- TMVar.scala
Try to read the current value. Returns None
if
empty, Some(current)
otherwise.
Try to read the current value. Returns None
if
empty, Some(current)
otherwise.
- Source:
- TMVar.scala
Try to take the current value. Returns None
if
empty, Some(current)
otherwise.
Try to take the current value. Returns None
if
empty, Some(current)
otherwise.
- Source:
- TMVar.scala