Is there something like "atomic read" for accessing a volatile variable?

(5 posts) (4 voices)