diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-09-07 00:33:22 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-09-07 00:33:22 +0000 |
commit | c84161e6acb9a7a04fa0a7eecb15d5143c0283ba (patch) | |
tree | 2c8dcf6066c231e8bf6ad74dc40e88c85b9c2d60 /third_party/gvsync | |
parent | f2c95a37af824d9c4502dd99857e73d4d07a4c4d (diff) | |
parent | 9e1cbdf565a1f5bf5bbc84bad0103fe2289e817c (diff) |
Merge 9e1cbdf5 (automated)
Diffstat (limited to 'third_party/gvsync')
-rw-r--r-- | third_party/gvsync/downgradable_rwmutex_unsafe.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/third_party/gvsync/downgradable_rwmutex_unsafe.go b/third_party/gvsync/downgradable_rwmutex_unsafe.go index 069939033..1f6007aa1 100644 --- a/third_party/gvsync/downgradable_rwmutex_unsafe.go +++ b/third_party/gvsync/downgradable_rwmutex_unsafe.go @@ -57,9 +57,6 @@ func (rw *DowngradableRWMutex) RLock() { // RUnlock undoes a single RLock call. func (rw *DowngradableRWMutex) RUnlock() { if RaceEnabled { - // TODO(jamieliu): Why does this need to be ReleaseMerge instead of - // Release? IIUC this establishes Unlock happens-before RUnlock, which - // seems unnecessary. RaceReleaseMerge(unsafe.Pointer(&rw.writerSem)) RaceDisable() } |