15.10. Wrap-Up

In this chapter, you learned the capabilities of the .NET framework that enable you to specify concurrent tasks in your programs. We discussed how to create threads of execution using class Thread and ThreadStart delegates—both from the System.Threading namespace.

We discussed several applications of concurrent programming. In particular, you learned about problems that may occur when multiple threads share the same data. To emphasize these issues, we presented an unsynchronized example of the producer/consumer relationship in which a producer thread placed values in a shared buffer and a consumer thread consumed those values. We then demonstrated the producer/consumer relationship again and showed how to synchronize threads using ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition 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.