blob: 3d22eaf9821b75ec9c5e7845bb3361cc12a3df48 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--
-- Hello World Using a Task
--
with Text_IO; use Text_IO;
procedure Hello is
task Hello_Task;
task body Hello_Task is
begin
Put_Line ("GNAT/RTEMS Hello World Test");
New_Line;
Put_Line ("Welcome to the World of Lady Ada");
New_Line;
Put_Line ("Initiating 2.5 second delay");
delay 2.5;
Put_Line ("Delay Complete");
Put_Line ("Test Complete");
end Hello_Task;
begin
NULL;
end Hello;
|