On Sat, 23 Jun 2018 21:04:48 -0700
"John Dammeyer" <jo...@autoartisans.com> wrote:

> But we are still talking about a Multi-Tasking, Round Robin Priority Driven
> OS right?  Like 3 tasks with the same priority are time sliced with equal
> processing time? ...

Ordinary real time scheduling with EDF as first choice which I never had access 
to or rate rate-monotonic as second choice is what I prefer then 
periodicity/priority is different and round robin for equal priority.

I think an excellent example of a "hard" although not neccessary critical real 
time process is to read data from some kind of serial receive buffer. If dead 
line is set to buffer full and trigger then half full I think this example will 
fit perfectly with the theory. In case hardware to trigger real time process, 
usually an interrupt and pirority is available theory will fit with practical 
implementation.

> Inter task communication done with pipes.  A task can
> suspend on a pipe until it's written to by another one. ...

Round robin could be implemented with function calls and usual parameter 
passing. For round robin any shared memory area will also work. In an operating 
system this may be implemented as a list there functions which should be called 
are stored.

Different prioriority there tasks can interrupt each other is there semaphores, 
mutexes, message passing in some form is needed. Could in some cases be 
implemented with a shared memory area and write one in a shared memory area to 
indicate then new data is available.


Nicklas Karlsson

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to