home *** CD-ROM | disk | FTP | other *** search
-
- program Multest;
- uses crt,Multi;
- var
- count : longint;
-
- procedure task1;
- begin
- repeat
- inc(count);
- yield;
- until false;
- end;
-
- procedure task2;
- begin
- repeat
- Wait(91); {Wait five Seconds}
- writeln(count);
- count := 0;
- until keypressed;
- halt;
- end;
-
- begin
- maketask(@task1,8192);
- maketask(@task2,8192);
- count := 0;
- start;
- end.