From f9907bb4e07de33af5bcdd758b9c025777fd158d Mon Sep 17 00:00:00 2001 From: Marc Hernandez Date: Sat, 20 Jul 2024 17:41:50 -0700 Subject: [PATCH] x) Updated Thread.Sleep parameter in Log.cs In the logging/Log.cs file, the parameter of the Thread.Sleep function has been changed from 0 to 1. This change is likely aimed at adjusting the pause duration for a running thread. The context suggests this is a temporary solution until a semaphore or mutex can be implemented as indicated by the existing TODO comment. --- logging/Log.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging/Log.cs b/logging/Log.cs index f78dda3..08ad3ab 100644 --- a/logging/Log.cs +++ b/logging/Log.cs @@ -613,7 +613,7 @@ static public class log } // TODO PERF Replace this with a semaphore/mutex - Thread.Sleep( 0 ); + Thread.Sleep( 1 ); } var endLine = new LogEvent( LogType.Raw, $"End E N D ******************************************************************************************************************", "", 0, "", "lib.time", "", null );