Pergunta de entrevista da empresa Wise

Yeah, the function you are calling is not thread safe. How could we improve it.

Resposta da entrevista

Sigiloso

19 de jan. de 2022

Well, if the service is not thread safe, we have no chance but calling the function in a synchronized block.