Condition variable header decoupling