Another Thread Example

Many times, you will have a slightly different task to perform in each thread and will want to pass each thread a parameter of some sort to differentiate its task from that of the others.
While there are several reasonable ways of doing this, the most straightforward is to create a Task object that holds the [...]