From e13e7c321006bfa5d2231434fc10b562baaa7498 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Sun, 1 Oct 2023 19:47:51 +0200 Subject: [PATCH] Queue - Switched one thing over to mutex+condvar --- source/tristanable/queue.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/tristanable/queue.d b/source/tristanable/queue.d index 6c4f6d0..28764d4 100644 --- a/source/tristanable/queue.d +++ b/source/tristanable/queue.d @@ -112,9 +112,9 @@ public class Queue try { // TODO: Make us wait on the event (optional with a time-out) - event.notifyAll(); + signal.notifyAll(); } - catch(FatalException snozErr) + catch(SyncError snozErr) { // Throw an exception on a fatal exception throw new TristanableException(ErrorType.ENQUEUE_FAILED);