//
pkg.gl
Category
github.com/matrixorigin/dragonboat
internal
utils
syncutil
package
2.1.7+incompatible
Repository:
https://github.com/matrixorigin/dragonboat.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
90 SLOC
#
Functions
NewLock
NewLock creates a new Lock instance.
NewStopper
NewStopper return a new Stopper instance.
#
Structs
Lock
Lock is a channel based lock with TryLock() supported, it is designed for very low contention scenario.
Stopper
Stopper is a manager struct for managing worker goroutines.