fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

update

concur.atomic.update

update(F:Unary T T,compute_new F) => tuple T T[src]
use `compute_new` to compute a new value of the atomic
do this until a compare_and_set is successful.

returns the (old_value, new_value)

Type Parameters

F:Unary T T[src]

Arguments

compute_new F[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23