Commit 90724a84 authored by hugues.jerome's avatar hugues.jerome Committed by yoogx

* Do not raise an exception, report the name of the task in

	  case an overload is detected



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-ada@959 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 50fd0959
......@@ -89,11 +89,10 @@ package body PolyORB_HI.Periodic_Task is
T := Ada.Real_Time.Clock;
if T > Next_Start then
Put_Line (Normal, "***** Overload detected *****");
Put_Line (Normal, "***** Overload detected in task "
& Entity_Image (Entity) & " *****");
Put_Line (Normal, "Lag: " &
Duration'Image (To_Duration (Next_Start - T)));
raise Program_Error;
end if;
delay until Next_Start;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment