Can you avoid locking by guaranteeing that multiple threads won't access the same memory?

后端 未结 0 1337
一整个雨季
一整个雨季 2021-02-11 13:40

Say I have a large array and I want to process the contents with multiple threads. If I delegate each thread to a specific section, guaranteeing no overlap, does that eliminate

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