Chapter 7
High Performance Programming
Section 3
Creating Multiple Threads
Sometimes, we need to create multiple threads. Before we can continue, however, we need to wait for these threads to complete doing whatever they need to do. For this, the use of tasks is best suited. - Create a new method - Create three tasks that then create three threads - Add the current thread ID and then make the thread sleep for the amount of milliseconds supplied