Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ TxReentrantLock.ts
File
TxReentrantLock.ts
packages/effect/src/TxReentrantLock.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Coordinates shared access inside transactions with read and write locks.
3
*
4
* A `TxReentrantLock` lets many fibers hold read locks at the same time, or one
Callers
nothing calls this directly
Calls
4
acquireRead
Function · 0.85
releaseRead
Function · 0.85
acquireWrite
Function · 0.85
releaseWrite
Function · 0.85
Tested by
no test coverage detected