beaaf77a1a
On some architectures, using threading.TIMEOUT_MAX for the timeout parameter can overflow causing Condition.wait() to return immediately. Instead of relying on TIMEOUT_MAX, remove it and wait forever. Signed-off-by: Ilias Tsitsimpis <iliastsi@debian.org> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>