* initialise timespec.tv_sec again for generic BasicEventWaitFor

git-svn-id: trunk@8836 -
This commit is contained in:
Jonas Maebe 2007-10-17 21:14:01 +00:00
parent 5f3e2b10e8
commit 2701a0f743

View File

@ -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