Subversion Repositories shark

Rev

Rev 1119 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1099 pj 1
This directory contains a set of simple examples, useful to understand
2
How to make a Shark application.
3
 
4
Text mode demos:
5
- hello.c  --> a hello world application
6
- timer.c  --> tests if the time reads are always increasing
7
	       (useful for debugging purposes)
8
- sig.c    --> simple example that sends signals
9
- aster1.c --> a -lot- of periodic tasks that are created and then die
10
	       (6 seconds demo)
11
- aster2.c --> a simple stress test: a lot of tasks are created until Utot=1;
12
	       uses jet functions to dump statistics. (60 seconds demo)
13
- aster3.c --> aster2 + 8 tasks handled by 2 different TBS servers
14
 
15
Graphical demos:
16
- fly.c    --> Random flies going around the screen
17
- ego.c    --> Periodic tasks that writes a phrease on the screen
18
- cabs.c   --> Example that uses cabs
19
 
20
 
21
Note on the init files:
22
- ihello.c   (RR+dummy)
23
- iaster1.c  (EDF+RR+dummy)
24
- iaster3.c  (EDF+RR+TBS(0.1)+TBS(0.3)+dummy)
25
- initfile.c (EDF+CBS+RR+dummy, SEMaphores, CABS, HARTPORTs and Keyboard)