package
1.16.102
Repository: https://github.com/jing-zhou/go-tun2socks.git
Documentation: pkg.go.dev

# README

syncex

GoDoc

Extended synchronization for GoLang.

syncex includes:

  • RecursiveMutex (ReentrantMutex)
  • CriticalSection

# Functions

NewOwnerID gives a new ownerID incrementally.

# Variables

Package specific errors.

# Structs

A CriticalSection is particular type of mutual exclusion (mutex) that may be locked multiple times by the same owner.
A RecursiveMutex is particular type of mutual exclusion (mutex) that may be locked multiple times by the same goroutine.

# Type aliases

ReentrantMutex is synonym for RecursiveMutex.