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.

SysBios 6.32 equivalent to Bios 5 "LCK_pend" and "LCK_post"

Hello,

I have been asked to implement something similar to LCK_pend and LCK_post to protect memory which we suspect is being accessed by a 2nd thread while it is being used by the 1st thread.

By the way, I have already tried protecting the code which accesses this memory using a binary semaphore, GateTask_enter and GateTask_leave, intLock and intUnlock, Task_disable and Task_restore. None of these are helping.

So I'm looking for an equivalent to LCK_pend and LCK_post and cannot find anything in the documentation which looks similar. Is there something?

Thanks,
Annie