I am using multiple threads with Bios 5.41 that access global variables (TMS320DM6437). Because I could not clearly identify in documentation how global variables are managed by the compiler and the Bios thread context switching, I used to always protect all global variables by semaphores.
But I am pretty sure this is overkill and would like to know if someone could give me some hints.
Thanks