FIX: pthread cond assertion