ox
Members list
Packages
Value members
Concrete methods
Starts a thread, which is guaranteed to complete before the enclosing scoped block exits.
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 parallelism
running in parallel 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 parallelism
running in parallel 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 (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
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. The method only completes when all child forks have completed.
Any child forks are interrupted after f
completes. The method only completes when all child forks have completed.
Attributes
The result of computation t
, if it took less than duration
, and a TimeoutException otherwise.
The result of computation t
, if it took less than duration
, and a TimeoutException otherwise.
Attributes
- Throws
-
TimeoutException
If
t
took more thanduration
.
A Some
if the computation t
took less than duration
, and None
otherwise.
A Some
if the computation t
took less than duration
, and None
otherwise.
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.