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.

multiProe_self函数调用返回数值不正确



各位专家:

我的工程里用到ipc, sharedRegion, notify,  net。 现在运行出现,在调用multicore_self的时修改每个核返回的值不正确, 有时几个核返回的值相同。

程序是单镜像,8核运行相同的代码。

在main函数中先用ipc_start 同步,获取coreID,  再注册notify event。 问题就出现在这里,  multiProe_self返回值出错。请问这有可能是什么原因?