Yeah, the function you are calling is not thread safe. How could we improve it.
Anonymous
Well, if the service is not thread safe, we have no chance but calling the function in a synchronized block.
Check out your Company Bowl for anonymous work chats.