chore: fix function names in comment

Signed-off-by: hongkuang <liurenhong@outlook.com>
This commit is contained in:
hongkuang
2024-04-07 16:17:09 +08:00
committed by Ron Evans
parent 22bf045c9a
commit 1154212c15
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ func TestRWMutexWriteToRead(t *testing.T) {
}
}
// TestRWMutexWriteToRead tests the transition from a read lock to a write lock while contended.
// TestRWMutexReadToWrite tests the transition from a read lock to a write lock while contended.
func TestRWMutexReadToWrite(t *testing.T) {
// Create a new RWMutex and read-lock it several times.
const n = 3