aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-20 00:10:22 +0100
committerStefan Boberg <[email protected]>2026-03-20 00:10:22 +0100
commitacbec2de68598fd64179387158d4c808220241cf (patch)
tree6e88c2aadd4b428887fec5bca96ed7fa0bf4d97d /src/zenhttp
parentFix HordeClient to use HttpClientAccessToken constructor (diff)
downloadzen-sb/compute-auth.tar.xz
zen-sb/compute-auth.zip
Consolidate action map locks and fix immediate query visibilitysb/compute-auth
Replace three separate RwLocks (m_PendingLock, m_RunningLock, m_ResultsLock) with a single m_ActionMapLock guarding all three action maps. This eliminates lock-ordering requirements and prevents actions from being temporarily absent from all maps during state transitions. Additionally, insert actions into m_PendingActions immediately during EnqueueResolvedAction so they are visible to GetActionResult and FindActionResult right away, without waiting for the scheduler thread to process the update. Previously, eager clients could get a spurious 404 if they queried before the scheduler's HandleActionUpdates ran. Also adds debug logging for worker manifest, process launch and exit on Windows, and ANSI color helper macros for log formatting.
Diffstat (limited to 'src/zenhttp')
0 files changed, 0 insertions, 0 deletions