atomic Update Slot
Extract the current value of the indexable object slot, pass it to the supplied Kotlin function, and write the result back to the slot with a compare-and-set, retrying from the beginning if it fails.
Return
The object that was eventually successfully written.
Parameters
The indexable AvailObject slot to access.
The one-based subscript within the given indexable field.
The transformation to perform on the AvailObject in the slot to produce a replacement A_BasicObject. Note that this may run multiple times if the compare-and-set encounters contention.
Extract the current value of the indexable Long slot, pass it to the supplied inline Kotlin function, and write the result back to the slot with a compare-and-set, retrying from the beginning if it fails.
Parameters
The indexable Long slot to access.
The optional one-based subscript within the given indexable field. Should be 1 for a non-repeating field.