package
1.3.1
Repository: https://github.com/threefoldtech/rivine.git
Documentation: pkg.go.dev

# Functions

New takes a maxLockTime and returns a lock.

# Variables

ErrStopped is returned by ThreadGroup methods if Stop has already been called.

# Structs

RWMutex provides locking functions, and an ability to detect and remove deadlocks.
A ThreadGroup is a one-time-use object to manage the life cycle of a group of threads.
TryMutex provides a mutex that allows you to attempt to grab a mutex, and then fail if the mutex is either not grabbed immediately or is not grabbed by the specified duration.