package
3.19.0
Repository: https://github.com/protonmail/proton-bridge.git
Documentation: pkg.go.dev

# Functions

Lock locks one or more mutexes for writing and calls the given function.
LockRet locks one or more mutexes for writing and calls the given function, returning a value.
LockRetErr locks one or more mutexes for writing and calls the given function, returning a value and an error.
NewMutex returns a new mutex.
NewRWMutex returns a new read-write mutex.
RLock locks one or more mutexes for reading and calls the given function.
RLockRet locks one or more mutexes for reading and calls the given function, returning a value.
RLockRetErr locks one or more mutexes for reading and calls the given function, returning a value and an error.

# Interfaces

Mutex is a mutex that can be locked and unlocked.
RWMutex is a mutex that can be locked and unlocked for reading and writing.