It's an indication that the current time slicing allocation for the higher priority task is not appropriate to your application, you should increase it accordingly in the scheduler.if Task 3 will always be executed then when will the rest of the Task get CPU time.
your answer is too short to understand the concept.The high-priority task doesn’t get ALL the time available, just MORE of the time.
Can you help me with the example I have provided? I just want to understand that when the higher priority task is executing, when it will give the control of CPU to the rest of the tasks.Some basic RTOS background :
Real Time Operating System (RTOS) - GeeksforGeeks
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.www.geeksforgeeks.org
RTOS fundamentals
A free RTOS. Title page for section describing an introduction to multitasking concepts.www.freertos.org
Regards, Dana.
correct me if i'm wrongHi,
A real time task should have a beginning and an end. It not should be an endless loop.
Klaus
Hi,
Task1 should be performed every 100ms. But how long does it take to perform the task?
If it takes 20ms, then you have 80ms left for other tasks.
Klaus
I am looking examples to clarify the definition.Where is your confusion ?
Regards, Dana.
The problem with your examples is that you just give half of the information.Let me correct if my example are not good to understand concept and if I am wrong in my explanation.
Hi,
Again: What about pencil and paper? Visualizing will show us your thinking and will help you to understand the problem.
Klaus
I'd like to share ideas for addressing definition before we get to work with paper and pencil. let me know if it makes any sense to you
I am talking about a check gate on highway where the vehicle is stopped to collect the toll charge. We see a red light indicator and the boom barrier is closed, it means you have to stop your vehicle. there is a tag which is fitted on the windscreen of your vehicle.
RFID reader scans the tag on the window screen. and automatically deduct the toll charge from your linked bank account. After which the boom barrier gate opens and screen display message "paid' so you can go ahead from there. If the RFID reader is not working, a message appears on the screen that the reader is not working, so you can deposit the tax manually to the operator and take the receipt there.
Technically I'm assuming we have a device like the Raspberry Pi that turns on the red light and turns off the boom barrier and display "Welcome "Message" on the screen when the system is powered ON. RFID reader scans the tag and sends data to Raspberry Pi over UART. Raspberry Pi send data to getaway server. Server validate the data and deducts the charge from the linked bank account. And send message "Paid " to raspberry PI and Pi send message " paid" to LCD display.
I am sorry, I felt that you are asking me to give a specific example, so I provided an example.Hi,
I thought you need help in understanding processing power... which means "time for a task".
But no information about timing, schedule, your ideas.... in your last post.
You don't refer to anything I wrote.
I am providing this exampleHi,
I thought you need help in understanding processing power... which means "time for a task".
But no information about timing, schedule, your ideas.... in your last post.
You don't refer to anything I wrote.
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?