Card 18 / 22: 4. [8 points]: Louis writes a multithreaded program, which produces an incorrect answer some of the time, but always completes. He suspects a race condition. Which of the following are strategies that can reduce or eliminate race conditions in Louis’s program?Apply the one-writer rule.
A)
True
B)
False
Answer:
A) True
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Computer System Engineering 6.033 Spring 2009
Author:
Prof.Robert MorrisProfessor
MIT Massachusetts Institute of Technology
USA
Access: |