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

⟦6732b5638⟧ TextFile

    Length: 2952 (0xb88)
    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

-- ada tasking tester
-- task head is the controller
-- tasks link are the chain of tasks

with Instrument;
use Instrument;

procedure Tpstb2 is

    task Head is
        entry Give;
    end Head;
    task Link1 is
        entry Give;
        entry S2;
        entry S3;
        entry S4;
        entry S5;
        entry S6;
        entry S7;
        entry S8;
        entry S9;
        entry S10;
        entry S11;
        entry S12;
        entry S13;
        entry S14;
        entry S15;
        entry S16;
        entry S17;
        entry S18;
        entry S19;
        entry S20;
    end Link1;
    task body Head is
    begin
        Start ("TPSTB2", "Task Perf., Select Test (test)");
        for I in 1 .. 1000 loop
            Link1.Give;
            accept Give do
                null;
            end Give;
        end loop;
        Stop;
        abort Link1;
    end Head;
    task body Link1 is
    begin
        loop
            select
                accept Give do
                    null;
                end Give;
            or
                accept S2 do
                    null;
                end S2;
            or
                accept S3 do
                    null;
                end S3;
            or
                accept S4 do
                    null;
                end S4;
            or
                accept S5 do
                    null;
                end S5;
            or
                accept S6 do
                    null;
                end S6;
            or
                accept S7 do
                    null;
                end S7;
            or
                accept S8 do
                    null;
                end S8;
            or
                accept S9 do
                    null;
                end S9;
            or
                accept S10 do
                    null;
                end S10;
            or
                accept S11 do
                    null;
                end S11;
            or
                accept S12 do
                    null;
                end S12;
            or
                accept S13 do
                    null;
                end S13;
            or
                accept S14 do
                    null;
                end S14;
            or
                accept S15 do
                    null;
                end S15;
            or
                accept S16 do
                    null;
                end S16;
            or
                accept S17 do
                    null;
                end S17;
            or
                accept S18 do
                    null;
                end S18;
            or
                accept S19 do
                    null;
                end S19;
            or
                accept S20 do
                    null;
                end S20;
            end select;
            Head.Give;
        end loop;
    end Link1;
begin
    null;
end Tpstb2;