Perform a read fence, i.e., enforce ordering between the previous and the next read operations: make sure that no previous read will be swapped with the any following read operation.
When no other synchronization mechanism is used, this is required between reads of fields that are accessed by concurrent threads to ensure that the order seen by the reading thread corresponds to the syntactical order the reads are performed in.
read operations: make sure that no previous read will be swapped with the any
following read operation.
When no other synchronization mechanism is used, this is required between reads
of fields that are accessed by concurrent threads to ensure that the order seen
by the reading thread corresponds to the syntactical order the reads are
performed in.