lock

package
Version: v0.0.0-...-3365a3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Locked

func Locked(m *sync.Mutex) bool

Locked returns true if the mutex is locked

func ReadLocked

func ReadLocked(rw *sync.RWMutex) bool

ReadLocked returns true if the RWMutex is read locked

func WriteLocked

func WriteLocked(rw *sync.RWMutex) bool

WriteLocked returns true if the RWMutex is write locked

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL