I am finding this concept difficult as only definition is given and no real world example is given to prove the definition.I’m done. The OP seems to be output-only.
I'm trying to understand the basics fundamental of preemptive multitasking.
I found multitasking is a method that allows multiple Tasks to share (CPU time).
Let's say we have a Tasks like this
Task 1 - Middle Priority
Task 2 - Lower Priority
Task 3 - High Priority
A single core CPU can execute only one task at a time. Hence CPU will always execute Task 3 as it is higher priority task.
I do not understand that if Task 3 will always be executed then when will the rest of the Task get CPU time.
Hi,
I guess I have a different way to solve problems. Thus I'm not much of help anymore.
Klaus
Do I get this right?if you explain in a bit more detail, I'm willing to spend my time and research on this.
I had spent more time and researched on this before but still I do not understand. I would like to do more research if you help me to understand those definition with real world example.Hi,
Do I get this right?
First I have to do something for you...then you are willing to spend your time.
Thank you for your offer, but I'm fine if you don't spend time for me.
Klaus
Have you gone over to YouTube ? There are quite a few videos on thisI had spent more time and researched on this before but still I do not understand. I would like to do more research if you help me to understand those definition with real world example.
Plenty of tips for free on this thread, provided by reputable and patient mebers - two of them giving it up - for whose you urge for help with an unusual conduct, demanding answers formatted as per your requisites. Since tutorials apparently did not meet your need, and considering that your application seem not so demanding for a multithread OS, I would recommend to adopt a baremetal programming approach, interrupt driven for critical tasks...or try to comprehend how to make effective searches on the Web for general and illustrated information; thereafter, feel free to make specific questions.I would like to do more research if you help me to understand those definition with real world example.
Hi,
The problem with your examples is that you just give half of the information.
You need to consider
* how often the task is called
* how long each task takes
Klaus
I have no idea what kind of timing diagram you want me to draw or what kind of timing diagram you draw for RTOS. if you explain it a bit i can try to make it.Hi,
I couldn´t do without a drawing. But I won´t do the drawing for you.
Klaus
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?