mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 14:59:32 +02:00
* initialise timespec.tv_sec again for generic BasicEventWaitFor
git-svn-id: trunk@8836 -
This commit is contained in:
parent
5f3e2b10e8
commit
2701a0f743
@ -820,6 +820,7 @@ begin
|
||||
else
|
||||
result := wrError;
|
||||
{$else}
|
||||
timespec.tv_sec:=0;
|
||||
{ 500 miliseconds or less -> wait once for this duration }
|
||||
if (timeout <= 500) then
|
||||
loopcnt:=1
|
||||
|
Loading…
Reference in New Issue
Block a user