concurrent

package
v0.0.11-otel Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package concurrent provides some enhanced concurrent utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReentrantLock

type ReentrantLock struct {
	sync.Mutex
	// contains filtered or unexported fields
}

ReentrantLock is a reentrant lock support multiple locks in the same goroutine

func (*ReentrantLock) Lock

func (m *ReentrantLock) Lock()

func (*ReentrantLock) Unlock

func (m *ReentrantLock) Unlock()

Jump to

Keyboard shortcuts

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