trymutex

package
v0.0.0-...-71dd0ca Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TryMutexLock

type TryMutexLock struct {
	sync.Once
	// contains filtered or unexported fields
}

func (*TryMutexLock) Lock

func (lock *TryMutexLock) Lock()

func (*TryMutexLock) TryLock

func (lock *TryMutexLock) TryLock() bool

func (*TryMutexLock) TryLockTimed

func (lock *TryMutexLock) TryLockTimed(t time.Duration) bool

func (*TryMutexLock) Unlock

func (lock *TryMutexLock) Unlock()

Jump to

Keyboard shortcuts

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