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

⟦810fdb51e⟧ TextFile

    Length: 5341 (0x14dd)
    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 Tptcd2 is

    task Head is
        entry Give;
    end Head;
    task Link1 is
        entry Give;
    end Link1;
    task Link2 is
        entry Give;
    end Link2;
    task Link3 is
        entry Give;
    end Link3;
    task Link4 is
        entry Give;
    end Link4;
    task Link5 is
        entry Give;
    end Link5;
    task Link11 is
        entry Give;
    end Link11;
    task Link12 is
        entry Give;
    end Link12;
    task Link13 is
        entry Give;
    end Link13;
    task Link14 is
        entry Give;
    end Link14;
    task Link15 is
        entry Give;
    end Link15;
    task Link21 is
        entry Give;
    end Link21;
    task Link22 is
        entry Give;
    end Link22;
    task Link23 is
        entry Give;
    end Link23;
    task Link24 is
        entry Give;
    end Link24;
    task Link25 is
        entry Give;
    end Link25;
    task Link211 is
        entry Give;
    end Link211;
    task Link212 is
        entry Give;
    end Link212;
    task Link213 is
        entry Give;
    end Link213;
    task Link214 is
        entry Give;
    end Link214;
    task Link215 is
        entry Give;
    end Link215;
    task body Head is
    begin
        Start ("TPTCD2", "Task Perf., Task Chain, length 20 (test)");
        for I in 1 .. 1000 loop
            Link1.Give;
            accept Give do
                null;
            end Give;
        end loop;
        Stop;
        abort Link1, Link2, Link3, Link4, Link5, Link11, Link12,
              Link13, Link14, Link15, Link21, Link22, Link23, Link24,
              Link25, Link211, Link212, Link213, Link214, Link215;
    end Head;
    task body Link1 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link2.Give;
        end loop;
    end Link1;
    task body Link2 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link3.Give;
        end loop;
    end Link2;
    task body Link3 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link4.Give;
        end loop;
    end Link3;
    task body Link4 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link5.Give;
        end loop;
    end Link4;
    task body Link5 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link11.Give;
        end loop;
    end Link5;
    task body Link11 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link12.Give;
        end loop;
    end Link11;
    task body Link12 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link13.Give;
        end loop;
    end Link12;
    task body Link13 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link14.Give;
        end loop;
    end Link13;
    task body Link14 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link15.Give;
        end loop;
    end Link14;
    task body Link15 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link21.Give;
        end loop;
    end Link15;
    task body Link21 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link22.Give;
        end loop;
    end Link21;
    task body Link22 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link23.Give;
        end loop;
    end Link22;
    task body Link23 is
    begin
        loop
            accept Give do
                null;

            end Give;
            Link24.Give;
        end loop;
    end Link23;
    task body Link24 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link25.Give;
        end loop;
    end Link24;
    task body Link25 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link211.Give;
        end loop;
    end Link25;
    task body Link211 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link212.Give;
        end loop;
    end Link211;
    task body Link212 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link213.Give;
        end loop;
    end Link212;
    task body Link213 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link214.Give;
        end loop;
    end Link213;
    task body Link214 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Link215.Give;
        end loop;
    end Link214;
    task body Link215 is
    begin
        loop
            accept Give do
                null;
            end Give;
            Head.Give;
        end loop;
    end Link215;
begin
    null;
end Tptcd2;