|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 913 (0x391)
Types: TextFile
Notes: R1k Text-file segment
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦77af3d3d8⟧
└─⟦this⟧
-- -------------------------------------------------------------------------
-- 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);
end SEMAPHORE