Changed tests that rely on condition variables to use the new basic_condition<lock_type> rather than plain condition