acceldata interview question

Make the application concurrent and thread-safe in machine coding round.