condition_wait() is now able to evaluate callbacks.