DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦e8c276555⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure, seg_0545b0

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with Text_Io;
procedure
     Smart_Beep is
        entry Start (Period : Duration);
        entry Suspend;
        entry Resume;
        entry Stop;
    end Smart_Beep;

    task body Smart_Beep is
        The_Period : Duration;
        Running : Boolean := False;
    begin
        loop
            accept Start (Period : Duration) do
                The_Period := Period;
                Running := True;
            end Start;  
            loop
                select
                    accept Suspend;
                or
                    accept Resume;
                or
                    accept Stop do
                        Running := False;
                    end Stop;
                or

                    delay The_Period;
                    Text_Io.Put (Ascii.Bel);
                end select;  
                exit when not Running;
            end loop;
        end loop;
    end Smart_Beep;

end Essai;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=28 rec1=00 rec2=01 rec3=001
    tail 0x2175d707487b88376cc44 0x42a00088462060003