Sollicitatievraag bij The Trade Desk

How would you add multi-threading to this program?