concurrent

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RWLockArray

type RWLockArray struct {
	Locks []*sync.RWMutex
	Size  int
}

func NewRWLockArray

func NewRWLockArray(size int) *RWLockArray

func (*RWLockArray) Get

func (a *RWLockArray) Get(i int) *sync.RWMutex

func (*RWLockArray) LockAll

func (a *RWLockArray) LockAll()

func (*RWLockArray) RLockAll

func (a *RWLockArray) RLockAll()

func (*RWLockArray) RUnlockAll

func (a *RWLockArray) RUnlockAll()

func (*RWLockArray) UnlockAll

func (a *RWLockArray) UnlockAll()

Jump to

Keyboard shortcuts

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