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.

非BIOS 6678工程中如何定义多核共享的变量



您好,

想通过设定变量标记的方式循环让core0~core7依次串口打印信息。通过定义变量控制8核程序走向。我将标记变量定义在共享内存中,但是core0改变该变量时,其余各核访问该变量时,该变量未作改变。请问我该如何做,达到某一核改变某一全局变量时,其余各核也能感知该变量的改变?

谢谢