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.

cc3100多线程运行时在sl_Start()处停住

Other Parts Discussed in Thread: CC3100

TI工程师,大家好!

我的cc3100单线程运行的时候没有问题,改为多线程后,代码运行到sl_Start()中的

OSI_RET_OK_CHECK(sl_SyncObjWait(&g_pCB->ObjPool[ObjIdx].SyncObj, SL_OS_WAIT_FOREVER)); 就不再往下执行了,

请问,问题可能出在哪里?

另外,作为多线程使用时,要修改的地方只有1、去掉SL_PLATFORM_MULTI_THREADED的屏蔽,2、信号量同步部分的代码修改,3、信号量互斥部分的代码修改,这几处吗?

谢谢!