Process-Synchronization
October 11, 2023Process-Synchronization
October 11, 2023Process-Synchronization
Question 45 |
The hardware implementation which provides mutual exclusion is
Semaphore | |
Test and set instruction | |
Both Options | |
None of the options |
Question 45 Explanation:
Mutual exclusion is a property of concurrency control, which is instituted for the purpose of preventing race conditions.
It is the requirement that one thread of execution never enters its critical section at the same time that another concurrent thread of execution enters its own critical section, which refers to an interval of time during which a thread of execution accesses a shared resource, such as shared memory.
It is the requirement that one thread of execution never enters its critical section at the same time that another concurrent thread of execution enters its own critical section, which refers to an interval of time during which a thread of execution accesses a shared resource, such as shared memory.
Correct Answer: B
Question 45 Explanation:
Mutual exclusion is a property of concurrency control, which is instituted for the purpose of preventing race conditions.
It is the requirement that one thread of execution never enters its critical section at the same time that another concurrent thread of execution enters its own critical section, which refers to an interval of time during which a thread of execution accesses a shared resource, such as shared memory.
It is the requirement that one thread of execution never enters its critical section at the same time that another concurrent thread of execution enters its own critical section, which refers to an interval of time during which a thread of execution accesses a shared resource, such as shared memory.
Subscribe
Login
0 Comments