Multiple Choice
Critical-section compiler directive in OpenMP is generally considered easier to use than standard mutex locks, because
A) management of entry and exit code is managed by OpenMP library reducing the possibility of programming errors.
B) programmers don't need to worry about race conditions.
C) a thread cannot block inside a critical section.
D) deadlock cannot occur.
Correct Answer:

Verified
Correct Answer:
Verified
Q33: With reentrant locks, programming construct try and
Q34: Alternate approaches such as transactional memory or
Q35: A critical section object in the user
Q36: Describe how a critical-section object functions.
Q37: Explain what will happen if a process
Q39: Explain the role of the variable preempt_count
Q40: In a single processor system running Windows,
Q41: The signal( ) operation in the example
Q42: What is the difference between software transactional
Q43: In JAVA, when a thread calls wait(