mut

package module
v0.0.0-...-d64a4b6 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOGS = false
View Source
var MUTEXES = map[string]MutArr{}

Functions

func Lock

func Lock(uid string)

func SetLogs

func SetLogs(shouldSet bool)

func Unlock

func Unlock(uid string)

Types

type MutArr

type MutArr struct {
	Mut *sync.Mutex
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL