Summary

Much of what you have seen in this chapter presents some challenges for classic VB developers. After all, VB developers have had ten years of not worrying about multiple threads. Multithreading is important, however, to building robust and scalable applications.

If you question the scalable claim, remember that not all computers only have a single processor. On single-processor machines, the threads are getting time slices on the processor; so, in truth, only one thread can run at a time. On multiprocessor machines, however, multiple threads can run at the same time, which can make your application much more scalable. In addition, this just drives home the need for synchronization.

If you think that you could do all this with DoEvents ...

Get A Programmer's Introduction to Visual Basic® .NET 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.