Threads Overview

Threads can bring many benefits to a program or application, but threading is difficult to get right. This chapter could show many simple samples of threading that work flawlessly and are relatively easy to understand and implement, but real-world applications aren't so flawless and neat. As spinning a thread becomes easier, it becomes more necessary to design an application so that threading is either not necessary or that each thread is understood completely in all possible contexts in which it can run. It is well understood in software engineering circles that developing a real-time application is at least twice as hard as developing a normal application. Whether the application is meant to have real-time characteristics or ...

Get .NET Common Language Runtime Unleashed 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.