lockset

package
v0.0.0-...-972597a Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallFrame

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

func (*CallFrame) String

func (cf *CallFrame) String() string

type Inversion

type Inversion struct {
	Held     *Lock
	HeldCall CallFrame

	Lock     *Lock
	LockCall CallFrame
}

func (*Inversion) String

func (inv *Inversion) String() string

type Lock

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

type Set

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

func (*Set) Contains

func (set *Set) Contains(lock *Lock) bool

func (*Set) Include

func (set *Set) Include(lock *Lock)

func (*Set) Remove

func (set *Set) Remove(lock *Lock) bool

type Table

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

func NewTable

func NewTable() *Table

func (*Table) Locked

func (table *Table) Locked(lock *Lock) *Inversion

func (*Table) Unlocking

func (table *Table) Unlocking(lock *Lock) bool

Jump to

Keyboard shortcuts

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