Do you know when to use multithreading? What are the advantages and disadvantages?

This episode continues what will likely be several more episodes devoted to multithreading. Listen to this episode to learn about the following four reasons to use multithreading:

  1. When you’re about to call some method that could take a long time to complete and you don’t want to wait around.
  2. When you want to setup some completely independent part of your application.
  3. When you have a problem that lends itself to being divided up into smaller problems that can be recombined later to form the final answer.
  4. When you want to perform the same task multiple times in slightly different ways.