Replace spins with proper pthread conditions.
5 files changed