Discover Packages
github.com/brianly1003/cdev
internal
sync
package
Version:
v0.1.3
Opens a new window with list of versions in this module.
Published: Feb 27, 2026
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 sync provides mutex types that can be swapped for deadlock detection.
In release mode (default), this uses the standard sync package.
In debug mode (build with -tags deadlock), this uses go-deadlock for detection.
Cond is the standard sync.Cond.
NewCond returns a new Cond.
Locker is the standard sync.Locker interface.
Map is the standard sync.Map.
Mutex is a mutual exclusion lock.
In release mode, this is the standard sync.Mutex.
Once is the standard sync.Once.
Pool is the standard sync.Pool.
RWMutex is a reader/writer mutual exclusion lock.
In release mode, this is the standard sync.RWMutex.
WaitGroup is the standard sync.WaitGroup.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.