mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 23:49:29 +02:00
* Patch from Steve Howe so daemon thread does not consume all CPU
git-svn-id: trunk@9267 -
This commit is contained in:
parent
cb9608c149
commit
efdddfd82c
@ -1137,7 +1137,10 @@ begin
|
||||
if not FDaemon.Execute then
|
||||
begin
|
||||
While Not Terminated do
|
||||
begin
|
||||
CheckControlMessage(True);
|
||||
Sleep(50);
|
||||
end;
|
||||
CheckControlMessage(False);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user