diff options
| author | Russ Cox <rsc@golang.org> | 2022-01-26 16:42:05 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2022-06-04 18:42:07 +0000 |
| commit | 865911424d509184d95d3f9fc6a8301927117fdc (patch) | |
| tree | babca2f61d88b20c262c3410ad79ca42fc531650 /src/database/sql | |
| parent | fc66cae490a0cd8b8cefefbc0ace7c3fb030f779 (diff) | |
| download | go-865911424d509184d95d3f9fc6a8301927117fdc.tar.xz | |
doc: update Go memory model
Following discussion on #47141, make the following changes:
- Document Go's overall approach.
- Document that multiword races can cause crashes.
- Document happens-before for runtime.SetFinalizer.
- Document (or link to) happens-before for more sync types.
- Document happens-before for sync/atomic.
- Document disallowed compiler optimizations.
See also https://research.swtch.com/gomm for background.
Fixes #50859.
Change-Id: I17d837756a77f4d8569f263489c2c45de20a8778
Reviewed-on: https://go-review.googlesource.com/c/go/+/381315
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
