gvisor/pkg/sync
Jamie Liu f051ec6463 Add gohacks.Slice/StringHeader.
See https://github.com/golang/go/issues/19367 for rationale. Note that the
upstream decision arrived at in that thread, while useful for some of our use
cases, doesn't account for all of our SliceHeader use cases (we often use
SliceHeader to extract pointers from slices in a way that avoids bounds
checking and/or handles nil slices correctly) and also doesn't exist yet.

PiperOrigin-RevId: 358071574
2021-02-17 17:41:10 -08:00
..
atomicptrmaptest Add //pkg/sync:generic_atomicptrmap. 2020-12-09 15:57:02 -08:00
atomicptrtest
seqatomictest
BUILD Internal change. 2021-01-28 09:31:11 -08:00
LICENSE
README.md
aliases.go
checklocks_off_unsafe.go Require sync.Mutex to lock and unlock from the same goroutine 2020-11-19 14:29:34 -08:00
checklocks_on_unsafe.go
generic_atomicptr_unsafe.go Add //pkg/sync:generic_atomicptrmap. 2020-12-09 15:57:02 -08:00
generic_atomicptrmap_unsafe.go Add gohacks.Slice/StringHeader. 2021-02-17 17:41:10 -08:00
generic_seqatomic_unsafe.go Add //pkg/sync:generic_atomicptrmap. 2020-12-09 15:57:02 -08:00
goyield_go113_unsafe.go Consolidate most synchronization primitive linknames in the sync package. 2020-12-02 19:08:32 -08:00
goyield_unsafe.go Consolidate most synchronization primitive linknames in the sync package. 2020-12-02 19:08:32 -08:00
mutex_test.go Require sync.Mutex to lock and unlock from the same goroutine 2020-11-19 14:29:34 -08:00
mutex_unsafe.go Require sync.Mutex to lock and unlock from the same goroutine 2020-11-19 14:29:34 -08:00
nocopy.go
norace_unsafe.go Consolidate most synchronization primitive linknames in the sync package. 2020-12-02 19:08:32 -08:00
race_amd64.s Consolidate most synchronization primitive linknames in the sync package. 2020-12-02 19:08:32 -08:00
race_arm64.s Consolidate most synchronization primitive linknames in the sync package. 2020-12-02 19:08:32 -08:00
race_unsafe.go Consolidate most synchronization primitive linknames in the sync package. 2020-12-02 19:08:32 -08:00
runtime_unsafe.go Add //pkg/sync:generic_atomicptrmap. 2020-12-09 15:57:02 -08:00
rwmutex_test.go Remove existing nogo exceptions. 2020-12-11 12:06:49 -08:00
rwmutex_unsafe.go Require sync.RWMutex to lock and unlock from the same goroutine 2020-12-04 08:20:08 -08:00
seqcount.go Allow use of SeqAtomic with pointer-containing types. 2020-12-04 19:07:17 -08:00
seqcount_test.go Allow use of SeqAtomic with pointer-containing types. 2020-12-04 19:07:17 -08:00
sync.go

README.md

Syncutil

This package provides additional synchronization primitives not provided by the Go stdlib 'sync' package. It is partially derived from the upstream 'sync' package from go1.10.