Multiple Choice
Atomic integers in Linux are useful when
A) several variables are involved in a race condition.
B) a single process access several variable involved in a race condition.
C) an integer variable needs to be updated.
D) All of the above.
Correct Answer:

Verified
Correct Answer:
Verified
Q47: A difference between software transactional memory (STM)
Q48: Explain the key limitation of wait( )
Q49: Describe a scenario when using a reader-writer
Q50: In the solution for bounded buffer problem
Q51: Explain how can a POSIX unnamed semaphore
Q52: Transactional memory may particularly be useful for
Q53: A reader-writer lock gives preference to writer
Q55: A call to pthread_cond_signal() (used by POSIX
Q56: In the monitor solution for dining-philosophers problem
Q57: Each critical section must be assigned a