xmutex

package
v0.0.0-...-b556d9d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Locked      int32 = 1
	Woken       int32 = 2
	WaiterShift int32 = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleMutexImplCAS

type SimpleMutexImplCAS struct {
}

func NewSimpleMutexImpl

func NewSimpleMutexImpl() *SimpleMutexImplCAS

func (*SimpleMutexImplCAS) Description

func (s *SimpleMutexImplCAS) Description() string

func (*SimpleMutexImplCAS) Name

func (s *SimpleMutexImplCAS) Name() base.Name

func (*SimpleMutexImplCAS) Run

type SimpleMutexImplSema

type SimpleMutexImplSema struct {
}

func NewSimpleMutexImplSema

func NewSimpleMutexImplSema() *SimpleMutexImplSema

func (*SimpleMutexImplSema) Description

func (s *SimpleMutexImplSema) Description() string

func (*SimpleMutexImplSema) Name

func (s *SimpleMutexImplSema) Name() base.Name

func (*SimpleMutexImplSema) Run

type SimpleMutexImplSemaCAS

type SimpleMutexImplSemaCAS struct {
}

func NewSimpleMutexImplSemaCAS

func NewSimpleMutexImplSemaCAS() *SimpleMutexImplSemaCAS

func (*SimpleMutexImplSemaCAS) Description

func (s *SimpleMutexImplSemaCAS) Description() string

func (*SimpleMutexImplSemaCAS) Name

func (s *SimpleMutexImplSemaCAS) Name() base.Name

func (*SimpleMutexImplSemaCAS) Run

type SimpleMutexImplSemaCas2

type SimpleMutexImplSemaCas2 struct{}

func NewSimpleMutexImplSemaCas2

func NewSimpleMutexImplSemaCas2() *SimpleMutexImplSemaCas2

func (*SimpleMutexImplSemaCas2) Description

func (s *SimpleMutexImplSemaCas2) Description() string

func (*SimpleMutexImplSemaCas2) Name

func (s *SimpleMutexImplSemaCas2) Name() base.Name

func (*SimpleMutexImplSemaCas2) Run

type SimpleMutexImplV0

type SimpleMutexImplV0 struct {
}

func NewSimpleMutexImplV0

func NewSimpleMutexImplV0() *SimpleMutexImplV0

func (*SimpleMutexImplV0) Description

func (s *SimpleMutexImplV0) Description() string

func (*SimpleMutexImplV0) Name

func (s *SimpleMutexImplV0) Name() base.Name

func (*SimpleMutexImplV0) Run

func (s *SimpleMutexImplV0) Run(ctx context.Context) (string, error)

Jump to

Keyboard shortcuts

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