summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/aliases.go
diff options
context:
space:
mode:
authorIan Gudger <igudger@google.com>2020-01-21 19:23:26 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-21 19:36:12 -0800
commit6a59e7f510a7b12f8b3bd768dfe569033ef07d30 (patch)
treef3230ab8459461bff3449db656aa9ccff1a7af5e /pkg/sync/aliases.go
parentd0e75f2bef4e16356693987db6ae6bbdce749618 (diff)
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
Diffstat (limited to 'pkg/sync/aliases.go')
-rw-r--r--pkg/sync/aliases.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/pkg/sync/aliases.go b/pkg/sync/aliases.go
index 20c7ca041..d2d7132fa 100644
--- a/pkg/sync/aliases.go
+++ b/pkg/sync/aliases.go
@@ -11,12 +11,6 @@ import (
// Aliases of standard library types.
type (
- // Mutex is an alias of sync.Mutex.
- Mutex = sync.Mutex
-
- // RWMutex is an alias of sync.RWMutex.
- RWMutex = sync.RWMutex
-
// Cond is an alias of sync.Cond.
Cond = sync.Cond