Changeset 3 for trunk/Apps/UClock.pas


Ignore:
Timestamp:
Nov 22, 2014, 11:50:49 PM (9 years ago)
Author:
chronos
Message:
  • Added: Application is executed as Task by Scheduler. OS threads is used for scheduler for efficient execution.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Apps/UClock.pas

    r2 r3  
    66
    77uses
    8   Classes, SysUtils, UAPI;
     8  Classes, SysUtils, UAPI, dateutils;
    99
    1010type
     
    2323procedure TAppClock.Run;
    2424begin
    25 
     25  while True do begin
     26    API.WriteText('test');
     27    API.Sleep(OneSecond);
     28  end;
    2629end;
    2730
Note: See TracChangeset for help on using the changeset viewer.