From 58e79cd95e2d7746f2f2d130b61287c701356dbd Mon Sep 17 00:00:00 2001 From: Muaz Ahmad Date: Tue, 12 Dec 2023 14:56:14 +0500 Subject: [PATCH] add reset on num processed blocks value --- src/threads.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/threads.zig b/src/threads.zig index bdbf599..ab7bff7 100644 --- a/src/threads.zig +++ b/src/threads.zig @@ -85,6 +85,7 @@ pub const ThreadManager = struct { } pub fn unblock(self: *Self) void { self.signals.eof_block.store(0, .Release); + self.signals.processed.store(0, .Release); } };