Summary

This wraps up the discussion on thread support provided by the .NET framework. Again, although the thread classes and mechanism provided are not always adequate for the task at hand, you have to keep in mind that the .NET framework is meant to target multiple languages. As such, a completely feature-rich implementation is not always possible and, as such, requires the developer of a particular language to extend the base offerings as needed. Using the basic WorkerThread abstract class, you should be able to extend it for your own particular needs and continue to improve and refine it over time.

Get C# and the .NET Framework: The C++ Perspective now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.