blob: d0b9da7fcd31585611aa53f3fe4739fb420a40d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Shows how to use the scheduling service in conjunction with
the real-time event channel. The test has a single consumer that
subscribes for two event types, using different RT_Infos for each. A
supplier pushes those events also using different RT_Infos.
The event-channel cooperates with the scheduling service to
compute a schedule and assign priorities to each event. The event
channel will use different queues for those events, each queue
serviced by threads at different priorities.
The example can be run using a pre-computed schedule:
$ ./Service
or it can generate the schedule again:
$ ./Service -c
NOTE: the current version uses the old event channel because
we haven't coimpleted the integration between the new EC and the
scheduling service.
|