Expand description
Fleet-shared keyed locks over Orbit shared memory.
Current ownership lives in a fixed-capacity state table. A dedicated notified ring carries successful transitions for reactive consumers.
Structs§
- Default
Lock Layout - Fence
- Atomic resource-side high-water mark for fencing stale holders.
- Fence
Token - Monotonic identity of one lock tenure.
- Lock
- Fleet-shared lock handle. Clones share one event cursor.
- Lock
Cursor - Lock
Event - Transition decoded from the notified ring.
- LockKey
- Resource identity used for contention.
- Lock
Lease - One current lock tenure returned by the authoritative table.
- Lock
Owner - Opaque caller-chosen identity for one lock tenure.
- Lock
Poll - Result of advancing one lock-event cursor.
- Ring
Event Fd - Process-local fd readiness bridge for one shared Orbit ring.
Enums§
- Error
- Lock
Acquire - Result of one atomic acquisition attempt.
- Lock
Transition - One successful current-state change.
Constants§
- LOCK_
EVENT_ RING_ CAPACITY - LOCK_
EVENT_ RING_ KIND - LOCK_
EVENT_ RING_ PAYLOAD_ CAPACITY - LOCK_
EVENT_ RING_ SPEC - LOCK_
STATE_ CAPACITY - LOCK_
STATE_ KIND - LOCK_
STATE_ PAYLOAD_ MAX
Traits§
- Lock
Layout - Physical Orbit surfaces used by one lock domain.
- Lock
Type - Typed namespace for lock keys.