def METHOD_NAME(self, t):
    assert t >= 0
    with self._cond:
        t += self._time
        while self._stop < t:
            self._time = self._stop
            self._cond.wait()
        self._time = t