takealot.com interview question

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