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

⟦2e3f3e327⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Producer_B_Messages, seg_020b35

Derivation

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

E3 Source Code



--| @SUMMARY Messages sent by the second (B) producer.
with Mail;
package Producer_B_Messages is

    -- another exciting, dynamic message type
    type Message is new Boolean;

    Message_Kind : constant Mail.Kind := 3;

    package Op is new Mail.Operations (Message, Message_Kind);

    -------------------------------------------------------


    -- response type to a TYPE_B message
    type Reply is new Integer;

    Reply_Kind : constant Mail.Kind := 4;


    -- allow one to send a TYPE_B and responding with
    -- TYPE_B_RESPONSE
    package Reply_Op is new Op.Reply_Operations (Reply, Reply_Kind);


    -------------------------------------------------------


    package Predefined_Ops is
        function "=" (L, R : Message) return Boolean
            renames Producer_B_Messages."=";
        function "not" (L : Message) return Message
            renames Producer_B_Messages."not";
        function "+" (L, R : Reply) return Reply
            renames Producer_B_Messages."+";
    end Predefined_Ops;

end Producer_B_Messages;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=23 rec1=00 rec2=01 rec3=05a
        [0x01] rec0=05 rec1=00 rec2=02 rec3=000
    tail 0x2151c7dea838d447625c7 0x42a00088462060003