Answer Posted / achal
The above is correct. To be more specific, a CPU might need
to access some hardware device say I2c interface. Now if 2
processes in running state try to acquire and use I2c for
some data transfer, it might create problems, when one of
them hasn't finished its operations with the device. So
whenever some process has to make use of I2C it should lock
upon the mutex object for I2c device. And after the
operation gets finished it unlocks the mutex. Now some
other process can use I2c by mutex lock.
Similarly mutex object can be used to safegaurd some other
device resources.
Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
Mention how I/O devices are classified for embedded system?
How many types of ipc mechanism you know?
Given time, cost, client satisfaction and best practices, how will you prioritize them for a project you are working on? Explain why.
Tell me why does pre-emptive multi-threading used to solve the central controller problem?
Explain what are the uses of the keyword static?
What is an anti-aliasing filter?
What do you do to stay abreast of the latest technologies and tools?
If a system goes blank, how do you debug it?
What is interrupt latency and how can we decrease it?
Can we put breakpoint inside isr?
Describe the life-cycle of a software development (application design) process.
What are the languages used in embedded system?
What is the purpose of the segment register?
Explain me what is the main function of multiplexed address/data bus?
How does input/output bus functions?