AntiPattern
Shared-State Concurrency Misuse
shared-state-concurrency-misuse
Shared-state concurrency misuse causes thread contention and lost parallelism when tasks race on global locks, shared RNG/driver synchronization, or pre-release thread-pool slots, while resources like containers/observations get reused across runs, leading to inconsistent throughput and flaky isolation.