This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cache一致性的问题



我在做多核的同步的时候,定义了一个int型的flag,并且把它放到了共享存储区中。在core0中将其值改写为1,但在其他核中该值依然是0,并没有随着core0改变。

只是知道用的是CACHE_invL1d之类的函数,但是具体操作不知道。。有没有例子什么的可以借鉴一下