newVariableWithOuterType

fun newVariableWithOuterType(variableType: A_Type?): AvailObject

Create a variable of the specified variable type. The new variable initially holds no value.

Note that WRITE_REACTORS and VALUE can be initialized with ordinary slot writes here, because should the variable become shared, a volatile write to its descriptor (and subsequent volatile read by other threads) protects us.

Return

A new variable of the given type.

Parameters

variableType