From d77655af121eaa52ff2e2e0f607754bccf86c6b7 Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Sat, 24 Jun 2023 20:43:53 -0500 Subject: [PATCH] fix: Increment submit_job counter Gotta increment that counter to submit jobs to each thread. Big dummy. --- src/thread_utils.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/thread_utils.rs b/src/thread_utils.rs index 0f84be7..eeb6d8f 100644 --- a/src/thread_utils.rs +++ b/src/thread_utils.rs @@ -94,7 +94,8 @@ impl Dispatcher { match self.command_transmitters.get(self.next_to_feed){ Some(target) => target.send(command), None => panic!("oh god oh fuck"), - }; + } + self.next_to_feed += 1; } }