Multithreading: Classic Model and Concurrency. Thread task