Download now Free registration required
Part 1 of this series demonstrated basic usage of the ThreadPool object and demonstrated a few different techniques that you can use with the ThreadPool. One of the main disadvantages of the ThreadPool is that you send a method to it and you never know when the method has completed. You also will not know whether or not that method threw an exception. In Part 2, Zach Smith demonstrates how to write a simple thread management class that handles thread completion notification and thread exception handling.
This download is also available as an entry in the TechRepublic Programming and Development blog.
- Format: Other Download
- Size: 110 KB