lock

package
v0.0.0-...-5288846 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package lock provides an interesting lock mechanism I thought about however I have not found a single use case for it yet in software.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lock

type Lock struct {
	// contains filtered or unexported fields
}

func (*Lock) Enter

func (l *Lock) Enter()

func (*Lock) Exit

func (l *Lock) Exit()

func (*Lock) ReadLock

func (l *Lock) ReadLock() bool

type Routines

type Routines struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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