Discover Packages
github.com/duolabmeng6/goefun
src
rwmutex
package
Version:
v1.1.4
Opens a new window with list of versions in this module.
Published: May 22, 2023
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 rwmutex provides switch of concurrent safe feature for sync.RWMutex.
RWMutex is a sync.RWMutex with a switch of concurrent safe feature.
New creates and returns a new *RWMutex.
The parameter <safe> is used to specify whether using this mutex in concurrent-safety,
which is false in default.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.