Registry / utility / anacrolix-stm

anacrolix-stm

JSON →
library0.5.0gogounverified

Software Transactional Memory operations for Go, enabling safe concurrent state management.

go get github.com/anacrolix/stm
INSTALL
IMPORT
SIG · ANACROLIX-STM
A
anacrolix-stm
utilitygov0.5.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.

stm
github.com/anacrolix/stm

Use STM to atomically set a variable.

package main import "github.com/anacrolix/stm" func main() { var v stm.Var stm.Atomically(func(tx *stm.Tx) { tx.Set(&v, 42) }) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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