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

⟦f27c544f9⟧ Ada Source

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

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



-- -------------------------------------------------------------------------
-- POSIX 1003.4 semaphores
-- -------------------------------------------------------------------------

package Semaphore is

    type Semaphore_Value is private;

    procedure Wait (Semaphore : in Semaphore_Value);

    procedure Post (Semaphore : in Semaphore_Value);

    procedure Conditional_Wait (Semaphore : in Semaphore_Value;
                                Semaphore_Free : out Boolean);

    -- Semaphores are scarce system resources.  One is allocated whenever
    -- a program declares an object of type SEMAPHORE_VALUE.  They can
    -- run out, depending on the operating system limit.  If one is declared
    -- and there are no more left in the system, STORAGE_ERROR is raised.
    -- CLOSE may be called to free one if it will no longer be used.

    procedure Close (Semaphore : in out Semaphore_Value);

private
    --
    -- Private Part added by JRG for compilation on 9/20/91
    --
    type Semaphore_Value is new Boolean;  -- Bogus implementation

end Semaphore;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1b rec1=00 rec2=01 rec3=05c
        [0x01] rec0=05 rec1=00 rec2=02 rec3=000
    tail 0x2171d6374838d7391fe9d 0x42a00088462060003