Added detail condition_variable, fixes