withWriteReactorsToModify

Extract the given variable's write-reactors map, and pass it into the body function. If toModify is true, initialize the field if needed. If toModify is false and the field has not yet been set, use null instead. Ensure that the map can not be read or written by other threads during the body.

Parameters

self

The A_Variable to examine and/or update.

toModify

Whether to initialize the field if it has not yet been initialized.