Implement Lock::ConditionVariable.