sleep seems to be not implemented in gtk
Original Reporter info from Mantis: Christian
-
Reporter name:
Original Reporter info from Mantis: Christian
- Reporter name:
Description:
sleep is in linux-gtk always executed in 0 time
seems that the base member of the widgetset isnt overritten
Steps to reproduce:
//normaly this schould hang the computer for a while :) but this is executed in //0 time
var
a,b,i : LongInt;
begin
a := GetTickCount;
Memo1.Lines.Add('Started at '+IntToStr(a));
for i := 0 to 100000 do sleep(100);
Memo1.Lines.Add('ended at '+IntToStr(b)+' difference '+IntToStr(b-a));
end;
Mantis conversion info:
- Mantis ID: 1349
- OS: linux
- Platform: x86
- Version: 0.9.11 (SVN)
- Fixed in version: 0.9.11 (SVN)
- Fixed in revision: 7973 (#e829bb06)
- Target version: 0.9.12