Introduction to Multi-Tasking In Interactive C In interactive C, it is quite simple to run talks
simultaneously. In fact, the processor is doing something called time
splicing where it allocates a splice of time to one process and then another.
This makes it seem like the processes are running simultaneously. In other
words, the microprocessor may be working on process #1 for 5 milliseconds and
then process #2 for 5 milliseconds, then back to process #1 again. Commands to know for
multi-tasking in IC: int start_process(function());
void kill_process(int pib);
Short example from http://www.vorlesungen.uni-osnabrueck.de/informatik/robot00/doc/books/martin.pdf :
To see a longer example of
multi-tasking in Interactive C, see Sample
Programs. |
Last Updated July 13th, 2006
By Eric Savoie