Meta Interview Question

question on multi thread