Chapter 23. Multi-Threading

In This Chapter

  • Creating New Threads

  • Synchronization

Multi-threading is the capability to execute multiple threads simultaneously. As systems become more sophisticated, it's often desirable to take advantage of machine capabilities such as multi-processor architectures. Even on single processing machines, multi-threading provides performance enhancements in some applications.

Besides boosting performance, multi-threading is handy in other scenarios such as event-driven operating environments. For instance, it's often necessary to invoke a progress indicator in its own thread so it can receive updates to an ongoing operation in another thread. Multi-threaded programs allow a program to engage in simultaneous events ...

Get C# 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.