- Switched one thing over to mutex+condvar
This commit is contained in:
Tristan B. Velloza Kildaire 2023-10-01 19:47:51 +02:00
parent e1e1ed2405
commit e13e7c3210
1 changed files with 2 additions and 2 deletions

View File

@ -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);