mirror of
https://github.com/SCST-project/scst.git
synced 2026-10-22 14:12:33 +00:00
Extract the per-worktree build lock ahead of the Sparse/Smatch and Cppcheck drivers. Keep one advisory lock file for analyzer builds that share generated state; release the descriptor on success or exception without unlinking the file. Document that callers must hold the lock around build-state changes and log reset, and that ordinary builds are not covered by this advisory lock. Add isolated fixtures checking cross-process contention, lock reuse and release after an exception. Kbuild collection and analyzer-specific build targets remain with their respective integration series.