Wizeline interview question

What is a thread safe code?