]> Cypherpunks repositories - gostls13.git/commit
sync: include links to the Go memory model in package documentation
authorRodrigo Orselli <97564847+orsll@users.noreply.github.com>
Fri, 7 Jun 2024 19:51:10 +0000 (19:51 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 7 Jun 2024 21:14:51 +0000 (21:14 +0000)
commitc83b1a7013784098c2061ae7be832b2ab7241424
treed1aa2354fa6b3d751a0ee6d6b79836a7d34a5a48
parent532cf270590da822a0803ebd1b5d40f454007ddf
sync: include links to the Go memory model in package documentation

The lack of links to https://go.dev/ref/mem in the sync package
documentation makes it difficult to read for people who have no previous
knowledge of that page.  This PR includes the links where needed.

Fixes #67891

Change-Id: I0e1344cc6d7b702f4cb2e55fe0fcee3eb089391a
GitHub-Last-Rev: 427cf58aaeaae2e4b060248dd592e5fe8c6b7df4
GitHub-Pull-Request: golang/go#67892
Reviewed-on: https://go-review.googlesource.com/c/go/+/591395
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/sync/atomic/doc.go
src/sync/cond.go
src/sync/map.go
src/sync/mutex.go
src/sync/once.go
src/sync/pool.go
src/sync/rwmutex.go
src/sync/waitgroup.go