|
|
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: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Z_Debug_Tache, seg_020f20
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Text_Io;
with Z_Debug;
package body Z_Debug_Tache is
--TYPES ------------------------------------------------------------------
task type Toto is
pragma Os_Task (0);
entry Run (Etat : Boolean);
entry Stop;
end Toto;
type Ptr_Tache is access Toto;
-- VARIABLES ------------------------------------------------------------
Tache_1, Tache_2 : Ptr_Tache;
-- PROCEDURES -----------------------------------------------------------
procedure Run (Etat : Boolean) is
begin
Tache_1.Run (Etat);
end Run;
procedure Stop is
begin
Tache_2.Stop;
Text_Io.Put_Line ("a que coucou");
end Stop;
procedure Create is
begin
Tache_1 := new Toto;
Tache_2 := new Toto;
end Create;
procedure Destroy is
begin
abort Tache_1.all;
abort Tache_2.all;
end Destroy;
-- TACHE ----------------------------------------------------------------
task body Toto is
Status : Boolean := False;
begin
loop
select
accept Run (Etat : Boolean) do
Status := Etat;
end Run;
or
accept Stop do
Status := False;
end Stop;
--else
-- null;
end select;
end loop;
end Toto;
end Z_Debug_Tache;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=31 rec1=00 rec2=01 rec3=012
[0x01] rec0=16 rec1=00 rec2=02 rec3=000
tail 0x2170c8958823075614528 0x42a00088462060003