Go approaches its memory model in much the same way as the rest of the language, aiming to keep the semantics simple, understandable, and useful. In the absence of data races, Go programs behave as if all the goroutines were multiplexed onto a single processor.
Table of contents
Version of June 6, 2022IntroductionMemory ModelImplementation Restrictions for Programs Containing Data RacesSynchronizationIncorrect synchronizationIncorrect compilationConclusion3 Comments
Sort: