mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
update comment
This commit is contained in:
parent
4e8c1e9ac2
commit
53dc219a81
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@
|
||||||
// Package syncx contains exotic synchronization primitives.
|
// Package syncx contains exotic synchronization primitives.
|
||||||
package syncx
|
package syncx
|
||||||
|
|
||||||
// ClosableMutex is a mutex that can be closed.
|
// ClosableMutex is a mutex that can also be closed.
|
||||||
// Once closed, it cannot be locked again.
|
// Once closed, it can never be taken again.
|
||||||
type ClosableMutex struct {
|
type ClosableMutex struct {
|
||||||
ch chan struct{}
|
ch chan struct{}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue