Hello, TIRTOS newbie here.
I have a global variable that is periodically updated by a task. Meanwhile, other tasks may want to read the value of this global variable at random intervals. What is the recommended may in TIRTOS to make sure access to this global variable is thread safe? Is there a mutex lock/unlock equivalent?
I have seen examples of semaphore pend/post but i can't quite understand how they apply to the context i described above.
Thanks in advance.