|
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 - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package Safe_Support, seg_04cdc3
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with File_Support; package Safe_Support is -- Ada tasking safe and abort safe file I/O support. -- -- All sequential_io, direct_io, text_io, integer_io, float_io, -- fixed_io and enumeration_io file operations are wrapped -- by the services file_lock() and file_unlock(). The user -- is guaranteed atomic operations on a per task basis. -- Furthermore, the task initiating the I/O request is inhibited from being -- completed by an Ada Abort until it finishes. -- -- The remaining lock() and unlock() services protect -- data structures shared across multiple files. -- Initialize/destroy the file's lock mutex function File_Mutex_Init (File : File_Support.File_Ptr) return Boolean; procedure File_Mutex_Destroy (File : File_Support.File_Ptr); procedure File_Lock (File : File_Support.File_Ptr); procedure File_Unlock (File : File_Support.File_Ptr); -- Protect shared data structures in text_io procedure Text_Io_Lock; procedure Text_Io_Unlock; -- Protect shared data structures in file_support procedure File_Support_Lock; procedure File_Support_Unlock; -- Protect shared data structures in os_files procedure Os_Files_Lock; procedure Os_Files_Unlock; end Safe_Support;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=19 rec1=00 rec2=01 rec3=060 [0x01] rec0=0d rec1=00 rec2=02 rec3=000 tail 0x2154978a6874f7b57a17f 0x42a00088462060003