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.
1 代码放在共享memory没有风险,每个core使用各自私有的堆栈即可;
2. 这里举个例子:在加上-o3优化的时候不能通过软件断点调测,但是此时可以用硬件断点调测;
3 出问题时是只有一个core运行,还是多核同时处理,主要每个core使用不同的堆栈,建议单步调测看看。