Question d’entretien chez The Trade Desk

How would you add multi-threading to this program?