Closed benedekh closed 7 years ago
in ControllablePersistentStorage.
For our purposes the flag is a good solution still, because we just want to stop others entering the section as soon as it is forbidden. Since that variable is volatile, every thread will get its latest value.
in ControllablePersistentStorage.