I am creating a variable of type double/number, global.
This is a counter of certain actions. If I run my module in multithreaded mode, then how do I change this variable correctly?
I can use the Variable Operate action and just increase the value by one.
OR
Do I need to use the Lock command and change the variable inside it?