gvisor/pkg/sync
Ian Gudger 6a59e7f510 Rename DowngradableRWMutex to RWmutex.
Also renames TMutex to Mutex.

These custom mutexes aren't any worse than the standard library versions (same
code), so having both seems redundant.

PiperOrigin-RevId: 290873587
2020-01-21 19:36:12 -08:00
..
atomicptrtest New sync package. 2020-01-09 22:02:24 -08:00
seqatomictest New sync package. 2020-01-09 22:02:24 -08:00
BUILD TMutex based on sync.Mutex. 2020-01-21 18:49:28 -08:00
LICENSE New sync package. 2020-01-09 22:02:24 -08:00
README.md New sync package. 2020-01-09 22:02:24 -08:00
aliases.go Rename DowngradableRWMutex to RWmutex. 2020-01-21 19:36:12 -08:00
atomicptr_unsafe.go New sync package. 2020-01-09 22:02:24 -08:00
downgradable_rwmutex_test.go Rename DowngradableRWMutex to RWmutex. 2020-01-21 19:36:12 -08:00
downgradable_rwmutex_unsafe.go Rename DowngradableRWMutex to RWmutex. 2020-01-21 19:36:12 -08:00
memmove_unsafe.go New sync package. 2020-01-09 22:02:24 -08:00
norace_unsafe.go New sync package. 2020-01-09 22:02:24 -08:00
race_unsafe.go New sync package. 2020-01-09 22:02:24 -08:00
seqatomic_unsafe.go New sync package. 2020-01-09 22:02:24 -08:00
seqcount.go New sync package. 2020-01-09 22:02:24 -08:00
seqcount_test.go New sync package. 2020-01-09 22:02:24 -08:00
syncutil.go New sync package. 2020-01-09 22:02:24 -08:00
tmutex_test.go Rename DowngradableRWMutex to RWmutex. 2020-01-21 19:36:12 -08:00
tmutex_unsafe.go Rename DowngradableRWMutex to RWmutex. 2020-01-21 19:36:12 -08:00

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.