Thread programming without sleep or WaitFor events in Delphi IDE and APIs Posted April 30, 2020 with call Winapi.MMSystem.timeBeginPeriod(1) you can minimize the negative random effect from calling Sleep(), I don't know if it also affects WaitForSingleObject.
Thread programming without sleep or WaitFor events
in Delphi IDE and APIs
Posted
with call Winapi.MMSystem.timeBeginPeriod(1) you can minimize the negative random effect from calling Sleep(), I don't know if it also affects WaitForSingleObject.