1 |
wireless wrote: |
2 |
> Embedded linux anything, currently, can never be fully deterministic. |
3 |
> Using languages such as C++ or more reaching OO languages |
4 |
|
5 |
I think the C++ issue w/ real-time-ness can be resolved as long as you |
6 |
pass -O0 to g++ (no instruction re-scheduling), and you have a test that |
7 |
counts the exact number of ticks that it takes a software interrupt to |
8 |
react to and act upon, in whole, for a given event, then subtract that |
9 |
amount of time from your deadline (thus creating an effective deadline). |
10 |
|
11 |
That being said, I have never actually tried writing a hard-real-time |
12 |
state machine in anything other than asm, c, or directly on an fpga, so |
13 |
I could just be full of hot air. |
14 |
|
15 |
|
16 |
-- |
17 |
gentoo-embedded@g.o mailing list |