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:
parent
9dbd52e736
commit
f9907bb4e0
@ -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 );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user