Files
sing-box/service
世界 bee231b9ff usbip: collapse server state into exportLedger
ServerService used to own three mutexes coordinating six pieces of
mutable state (exports, busy, controlState, controlSeq, controlSubs,
LeaseManager). The lock-ordering rule that fixed the import/attach
race in 0c892411a lived only as a comment. Two-mutex (fast/slow)
ledger absorbs all of it; the two mutexes are never held
simultaneously, so the ordering rule becomes a property of the type
instead of a discipline callers must observe. TryReserveForImport
closes the window where two concurrent OpReqImports could both pass
the busy check before either marked busy.
2026-06-09 10:42:26 +08:00
..
2026-06-08 08:51:48 +08:00
2026-05-13 23:39:27 +08:00
2026-05-13 23:39:27 +08:00
2026-06-08 08:51:48 +08:00
2026-06-08 08:51:46 +08:00
2025-11-04 11:00:43 +08:00