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.
This commit is contained in:
Marc Hernandez 2024-07-20 17:41:50 -07:00
parent 9dbd52e736
commit f9907bb4e0

View File

@ -613,7 +613,7 @@ static public class log
} }
// TODO PERF Replace this with a semaphore/mutex // 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 ); var endLine = new LogEvent( LogType.Raw, $"End E N D ******************************************************************************************************************", "", 0, "", "lib.time", "", null );