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:
- When you’re about to call some method that could take a long time to complete and you don’t want to wait around.
- When you want to setup some completely independent part of your application.
- 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.
- When you want to perform the same task multiple times in slightly different ways.