From 8f2e46fb7a40008ff2c0480115846909078a19b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kami=C5=84ski?= Date: Thu, 17 Oct 2024 14:16:08 +0200 Subject: [PATCH] fixes 4 --- scripts/data/client2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/data/client2.py b/scripts/data/client2.py index 7db97d0a..9fadfdb0 100644 --- a/scripts/data/client2.py +++ b/scripts/data/client2.py @@ -117,8 +117,9 @@ def job_producer(job_gen): # Notify consumers that a new job is available weight_lock.notify_all() + print("AAAAAAAAAAAAA") + with weight_lock: - weight_lock.wait() weight_lock.notify_all() # Consumer function: Processes blocks from the queue