Part Number: CC2652P
My customer is calling Zstackapi_bdbSetActiveCentralizedLinkKeyReq from a seperate task in their application, and found that the program hangs at sspMMOHash in bdb_addInstallCode. They tried adjusting the priority of the task, and also tried calling bdb_setActiveCentralizedLinkKey instead of Zstackapi_bdbSetActiveCentralizedLinkKeyReq, but both could not make it work.
It looks the sspMMOHash function is not thread-safe, and when there is multiple tasks, it will be interrupted by other tasks and never return. How can I make this function thread-safe to avoid being interrupted?
Best regards,
Shuyang