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.

信号量应用疑问

Other Parts Discussed in Thread: SYSBIOS

平台6678,CCS5.5,SYSBIOS操作系统下,多核信号量应用疑问。

1,每个核心semaphore_create()创建一个信号量,如果都申请的是同一个信号量,不会有冲突么?在创建信号量时是否要判断信号量是否被占用?

2, core0发布一个信号量控制core1 任务工作,这种情况下需要指定同一个信号量吧?如何指定?

3,我看semaphore   UG中有说到,应用信号量会导致仿真器挂起,我现在就遇到这个问题,已经无法调试了,该怎么解决?