Adobe interview question

Write a program to perform threading and multi-threading?