Std.Concurrent.Coordinate.resolve
1 declaration
fn
resolve: &Std.Concurrent.Coordinate.Once[T] -> fn() -> T -> Result[T, Std.Concurrent.Coordinate.CoordinateError]The value, computing it with init if no caller has yet. init runs on a thread of its own under the lock: a crash answers Failed, releases the lock, and leaves the value unset for the next caller.
Back to Std.Concurrent.CoordinateSearch related declarations
