ox
Members list
Type members
Classlikes
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Value members
Concrete methods
Starts a thread, which is guaranteed to complete before the enclosing scoped block exits.
Starts a thread, which is guaranteed to complete before the enclosing scoped block exits.
Exceptions are propagated. In case an exception is thrown while evaluating t
, the enclosing scope's main thread is interrupted and the
exception is re-thrown there.
Attributes
Starts a thread, which is guaranteed to complete before the enclosing scoped block exits.
Starts a thread, which is guaranteed to complete before the enclosing scoped block exits.
Exceptions are held. In case an exception is thrown while evaluating t
, it will be thrown when calling the returned Fork's
.join()
method. The exception is not propagated to the enclosing scope's main thread, like in the case of fork.
Attributes
Runs the given computations in parallel. If any fails, interrupts the others, and re-throws the exception.
Runs the given computations in parallel. If any fails, interrupts the others, and re-throws the exception.
Attributes
Runs the given computations in parallel. If any fails, interrupts the others, and re-throws the exception.
Runs the given computations in parallel. If any fails, interrupts the others, and re-throws the exception.
Attributes
Runs the given computations in parallel. If any fails, interrupts the others, and re-throws the exception.
Runs the given computations in parallel. If any fails, interrupts the others, and re-throws the exception.
Attributes
Runs the given computations in parallel, with at most concurrency
running concurrently at the same time. If any computation fails,
interrupts the others, and re-throws the exception.
Runs the given computations in parallel, with at most concurrency
running concurrently at the same time. If any computation fails,
interrupts the others, and re-throws the exception.
Attributes
Returns the result of the first computation to complete (either successfully or with an exception).
Returns the result of the first computation to complete (either successfully or with an exception).
Attributes
Returns the result of the first computation to complete successfully, or if all fail - throws the first exception.
Returns the result of the first computation to complete successfully, or if all fail - throws the first exception.
Attributes
Repeat evaluating f
until it evaluates to true
.
Repeat evaluating f
until it evaluates to true
.
Attributes
Repeat evaluating f
while it evaluates to true
.
Repeat evaluating f
while it evaluates to true
.
Attributes
Any child forks are interrupted after f
completes.
Any child forks are interrupted after f
completes.
Attributes
Use the given resource in the current scope. The resource is allocated using acquire
, and released after the scope is done using
release
. Releasing is uninterruptible.
Use the given resource in the current scope. The resource is allocated using acquire
, and released after the scope is done using
release
. Releasing is uninterruptible.