Skip to content

Commit

Permalink
Added overloaddetection from wednesday
Browse files Browse the repository at this point in the history
  • Loading branch information
noelPellkvist committed Sep 19, 2024
1 parent a60d951 commit 117e751
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions overloaddetectionTmp.adb
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@ procedure overloaddetection is
return X;
end F;

task type Helper is
entry Check_Health(F : in Boolean);
task Helper is
entry Check_Health(flag : in Boolean);
end Helper;

task body Helper is
Health_Flag : Boolean := True;
begin
loop
accept Check_Health(F : in Boolean) do
accept Check_Health(flag : in Boolean) do
Put_Line("Checking health");
end Check_Health;
end loop;
Expand Down

0 comments on commit 117e751

Please sign in to comment.