Domanda di colloquio di takealot.com

How would the variable of a common function behave if its accessed by multiple threads ?