Registry / utility / anacrolix-sync

anacrolix-sync

JSON →
library0.6.0gogounverified

Package sync extends the standard sync package with debugging features for synchronization primitives.

go get github.com/anacrolix/sync
INSTALL
IMPORT
SIG · ANACROLIX-SYNC
A
anacrolix-sync
utilitygov0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sync
github.com/anacrolix/sync

Use an extended Mutex with debugging capabilities.

package main import ( "github.com/anacrolix/sync" ) func main() { var mu sync.Mutex mu.Lock() mu.Unlock() }
Debug
Known issues
gotchaRWMutex is treated as Mutex when package is enabled.
fix
Use Mutex explicitly if you need RWMutex behavior with debugging.
affects: >=0.0.0
Upgrade
Version history
0.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Meta
1
OpenAI (training)
1
Resources
anacrolix-sync — go get anacrolix-sync · libregistry