|
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 body Essai_Tache, seg_020efd
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Text_Io; package body Essai_Tache is procedure Travail is begin Text_Io.Put_Line ("Je Travail"); end Travail; task Tache is entry Marche; entry Arret; entry Fin; end Tache; task body Tache is En_Marche : Boolean := False; La_Fin : Boolean := False; begin loop select when En_Marche => accept Arret do En_Marche := False; end Arret; or when not En_Marche => accept Marche do En_Marche := True; end Marche; or accept Fin do La_Fin := True; end Fin; else if En_Marche then Travail; end if; if La_Fin then exit; end if; end select; end loop; end Tache; procedure Essai is begin Tache.Marche; delay Duration (2); Tache.Arret; delay Duration (3); Tache.Marche; delay Duration (2); Tache.Arret; Tache.Fin; end Essai; end Essai_Tache;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=30 rec1=00 rec2=01 rec3=022 [0x01] rec0=19 rec1=00 rec2=02 rec3=000 tail 0x2151c85c6838d4bf0b8f8 0x42a00088462062803