We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7d4729 commit fcb1be5Copy full SHA for fcb1be5
goRedisson.go
@@ -63,7 +63,7 @@ func (g *GoRedisson) GetReadWriteLock(key string) ReadWriteLock {
63
64
// GetMutex returns a Mutex named "key" which can be used to lock and unlock the resource "key".
65
// A Mutex can be copied after first use, but most of the time it is advisable to keep instances of Lock.
66
-// the difference between Mutex and Lock is that Mutex can't be locked by the same thread twice.
+// the difference between Mutex and Lock is that Mutex can't be locked by any thread twice.
67
func (g *GoRedisson) GetMutex(key string) Lock {
68
return newGoRedissonMutex(key, g)
69
}
0 commit comments