阅读背景:

您能否通过保证多个线程不会访问相同的内存来避免锁定?

来源:互联网 

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 any need for locking, assuming the threads don't access any other memory outside the array?Say I have a large array and I want to process




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: