package xsync

import "github.com/ydb-platform/ydb-go-sdk/v3/internal/xsync"

Index

Types

type Mutex

type Mutex struct {
	sync.Mutex
}

func (*Mutex) WithLock

func (l *Mutex) WithLock(f func())

type RWMutex

type RWMutex struct {
	sync.RWMutex
}

func (*RWMutex) WithLock

func (l *RWMutex) WithLock(f func())

func (*RWMutex) WithRLock

func (l *RWMutex) WithRLock(f func())

Source Files

mutex.go

Version
v3.28.1
Published
Jul 14, 2022
Platform
linux/amd64
Imports
1 packages
Last checked
21 seconds ago

Tools for package owners.