mutex

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleRWMutex

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

func NewSimpleRWMutex

func NewSimpleRWMutex() *SimpleRWMutex

func (*SimpleRWMutex) ReadLock

func (rw *SimpleRWMutex) ReadLock(ctx context.Context) error

func (*SimpleRWMutex) ReadUnlock

func (rw *SimpleRWMutex) ReadUnlock()

func (*SimpleRWMutex) WriteLock

func (rw *SimpleRWMutex) WriteLock(ctx context.Context) error

func (*SimpleRWMutex) WriteUnlock

func (rw *SimpleRWMutex) WriteUnlock()

Jump to

Keyboard shortcuts

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