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.

C6678 信号量释放问题

while (CSL_semAcquireDirect(SEM_SLICES_CODED) == 0);
//do something
CSL_semReleaseSemaphore(SEM_SLICES_CODED);

请问这种结构,比如在do something 的时候重启,但是信号量没有释放,我在下次重启的时候CSL_semReleaseSemaphore(SEM_SLICES_CODED)了信号量,结果却依然CSL_semAcquireDirect(SEM_SLICES_CODED)不成功,得不到信号量,我该怎么办?