Hello, guys, and welcome back to you in this exciting new section where we are going to talk about
realtime operating systems or what we call Auto's.
Now, any modern computer should have some type of multitasking, and this is one of the main tasks
that Oreja supplies to you.
Now, let us first remember how a program executes.
Let's say you have an ordering a program and you're reading your analog input.
Then you are reading your second analog input, your blinking an LED, you know, displaying the analog
input, the LCD, the first one, and then the second input.
You're also displaying it to the LCD.
Now, this will be executing in sequence one by one.
So you cannot really execute this stuff in parallel like we did in dealing with vigil.
As you remember, we were able to execute stuff in parallel.
Every circuit was executing on its own.
It was not waiting for the previous circuit to execute, but they were all doing their work at the same
time together.
So that was a parallel.
But here you cannot really jump to the second line without executing for the first line.
And this is a sequential execution.
Is this how our windows work?
Let's say you have a Mac OS or you have windows, what you see in windows that you could browse your
Internet, you could listen to music, you could be running minigames all at the same time.
And, well, this is not actually a sequential executing.
There is some kind of mechanism that is allowing all of those programs to run at the same time.
Now, what you can think about here is that every one of those application, be it our browser, will
yet again be the music player.
Each one of them is like this or Adreno.
Let's say this game is executing sequentially.
The browser is executing kind of sequentially.
Media player is the same.
But what we observe on Windows is that even though each one of them is a sequential program, all of
them are running at the same time.
How is this being done?
Well, this is being done by an operating system.
And in the next lectures, we are going to learn more about how what does an operating system contain
that allows this kind of spiral execution?