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