Blip (Portugal) Interview Question

How can I make a class thread-safe?