Discover Packages
github.com/0xkhdr/specd-cli
internal
core
lock
package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Aug 7, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Deadline bounds how long one operation waits for a contended lock. A wedged
holder must produce a refusal with a legal recovery action, never a hang.
With serializes work across processes and goroutines. The OS releases the
file lock if its process exits, so no unsafe stale-lock deletion is needed.
Contention past Deadline refuses instead of blocking forever.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.