Race conditions are prevented by requiring that critical regions be protected by locks.
A.正确
B.错误
正确答案是A