ada-examples-4-10-branch
ada-examples-4-10-1
Last change
on this file since 3fe7728 was
d4c4aba,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/17/09 at 18:13:31
|
2009-09-17 Joel Sherrill <joel.sherrill@…>
- Makefile, ada_from_c.adb, app.c: Make follow standard RTEMS test
output format. Add output screens where appropriate.
- ada_from_c_task.scn: New file.
|
-
Property mode set to
100644
|
File size:
400 bytes
|
Line | |
---|
1 | -- |
---|
2 | -- Ada From C Example -- Ada "Application" |
---|
3 | -- |
---|
4 | -- $Id$ |
---|
5 | -- |
---|
6 | |
---|
7 | |
---|
8 | with Text_IO; use Text_IO; |
---|
9 | with Example; |
---|
10 | |
---|
11 | procedure Ada_From_C is |
---|
12 | |
---|
13 | task Ada_From_C_Task; |
---|
14 | |
---|
15 | task body Ada_From_C_Task is |
---|
16 | begin |
---|
17 | Put_Line ("*** GNAT/RTEMS C Calling Ada Test ***"); |
---|
18 | |
---|
19 | loop |
---|
20 | Put_Line ("Ada task loop iteration"); |
---|
21 | delay 1.0; |
---|
22 | end loop; |
---|
23 | end Ada_From_C_Task; |
---|
24 | |
---|
25 | begin |
---|
26 | NULL; |
---|
27 | end Ada_From_C; |
---|
Note: See
TracBrowser
for help on using the repository browser.