All-Thread Static Variables

When you define a variable with the STATIC(*ALLTHREAD) keyword, you are responsible for ensuring that the variable is used in a thread-safe way. Depending on the scope of the variable and usage of the variable, you may need to have additional variables to help synchonize access to the variables:
If you need to add a synchronization variable to synchronize access to another variable you must ensure the following:

Feedback