DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: B T

⟦60f188234⟧ TextFile

    Length: 739 (0x2e3)
    Types: TextFile
    Names: »B«

Derivation

└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
    └─⟦5cb1d1d7f⟧ »DATA« 
        └─⟦3b1ee7bd8⟧ 
            └─⟦this⟧ 

TextFile

with Time_Utilities;
package body Timer is
    task Alarm is
        entry Set_Alarm (To_Expire_At : Time_Utilities.Time);
    end Alarm;

    task body Alarm is
        Period : Duration := Duration'Last;
    begin
        loop
            select
                delay Period;
                Period := Duration'Last;
                Wake_Up;
            or
                accept Set_Alarm (To_Expire_At : Time_Utilities.Time) do
                    Period := Time_Utilities.Duration_Until (To_Expire_At);
                end Set_Alarm;
            end select;
        end loop;
    end Alarm;
    procedure Set_Timer (To_Expire_At : Time_Utilities.Time) is
    begin
        Alarm.Set_Alarm (To_Expire_At);
    end Set_Timer;
end Timer;