package
1.9.15-temp-stability-tests
Repository: https://github.com/kaspanet/kaspad.git
Documentation: pkg.go.dev
# Functions
NewPriorityMutex returns a new priority mutex.
ReceiveFromChanWhenDone takes a blocking function and returns a channel that sends an empty struct when the function is done.
# Structs
PriorityMutex implements a lock with three priorities: * High priority write lock - locks the mutex with the highest priority.