The highest tagged major version is
v2 .
Discover Packages
github.com/gogf/gf
internal
mutex
package
Version:
v1.14.5
Opens a new window with list of versions in this module.
Published: Nov 21, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package mutex provides switch of concurrent safe feature for sync.Mutex.
Mutex is a sync.Mutex with a switch for concurrent safe feature.
New creates and returns a new *Mutex.
The parameter <safe> is used to specify whether using this mutex in concurrent-safety,
which is false in default.
func (mu *Mutex ) Unlock()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.