Advanced Embedded Systems Question: Download Advanced Embedded Systems PDF

Explain me why does pre-emptive multi-threading used to solve the central controller problem?

Tweet Share WhatsApp

Answer:

Multi-threading provide lot of functionality to the system to allow more than one task can be run at a time. It allows a process to execute faster with less difficulty. But, if there any problem comes in any program or the process than the entire system comes to a halt and slows down the whole system. To control the behavior of this the preemptive multi-threading is used. The control in this case is being shifted from one process to another at any time according to the requirement provided. It allows the program to give the control to another program that is having the higher priority. It includes of many problems like giving of a control by a process half way through in execution and the preemption of the process takes place then the data will be entered as corrupted in the memory location, multi-threading keeps the synchronization that is to be performed between different components of the system and the program and try to avoid the problem mentioned above.

Download Advanced Embedded Systems PDF Read All 76 Advanced Embedded Systems Questions
Previous QuestionNext Question
Please explain why is it better to use multi-threading polling then single threading model?Explain me which bit of the flag register is set when output overflows to the sign bit?