AntiPattern
Threading Locks and Timeouts
concurrency-stall-via-lock-contention
Synchronized critical sections and resource/time limits cause concurrency to stall or crash—frozen worker threads masquerade as watchdog failures, deadlocks appear, and throughput collapses when locks aren’t truly atomic or re-entrant.