请教一个多线程问题,哪一种synchronization primitive只应许一个thread在critical section里?# JobHunting - 待字闺中
c*z
1 楼
In a multithreaded environment, what are two types of methods to protect
memory from being written over
by two threads at the same time?
mutex, 还有什么?
memory from being written over
by two threads at the same time?
mutex, 还有什么?