Is mutex lock required when each thread is writing to a separate cell in a shared 2d array

后端 未结 0 1158
孤独总比滥情好
孤独总比滥情好 2020-12-10 06:56

Is a mutex needed in the following Parallel Computation of a Cellular Automata?

I thought it was always advised to use a mutex lock when writing to a shared resource

相关标签:
回答
  • 消灭零回复
提交回复
热议问题