summaryrefslogtreecommitdiffhomepage
path: root/third_party/gvsync
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gvsync')
-rw-r--r--third_party/gvsync/downgradable_rwmutex_unsafe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/gvsync/downgradable_rwmutex_unsafe.go b/third_party/gvsync/downgradable_rwmutex_unsafe.go
index a63a0d084..131f0a2ba 100644
--- a/third_party/gvsync/downgradable_rwmutex_unsafe.go
+++ b/third_party/gvsync/downgradable_rwmutex_unsafe.go
@@ -49,7 +49,7 @@ func (rw *DowngradableRWMutex) RLock() {
// RUnlock undoes a single RLock call.
func (rw *DowngradableRWMutex) RUnlock() {
if RaceEnabled {
- // TODO: Why does this need to be ReleaseMerge instead of
+ // 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))