Multiple Choice
Alternate approaches such as transactional memory or OpenMP are useful, because
A) some race condition problems that cannot be solved using synchronization mechanisms such as mutex locks and semaphores can be solved using these alternate approaches.
B) these approaches scale much better than synchronization mechanisms such as mutex locks and semaphores as the number of threads increases.
C) developers do not need to identify race conditions when using these approaches.
D) All of the above.
Correct Answer:

Verified
Correct Answer:
Verified
Q29: POSIX unnamed semaphores can be shared either
Q30: In JAVA, calling a synchronized method always
Q31: Explain the difference between the first readers-writers
Q32: An advantage of using transactional memory is
Q33: With reentrant locks, programming construct try and
Q35: A critical section object in the user
Q36: Describe how a critical-section object functions.
Q37: Explain what will happen if a process
Q38: Critical-section compiler directive in OpenMP is generally
Q39: Explain the role of the variable preempt_count