Sunday, July 17, 2005

Multithreading in VB.NET

DevCity.NET :: Multithreading in VB.NET. Page 1

"Multithreading, a very powerful technique, is essential for modern software development. Software users expect to work with a very responsive program that they don't have to wait on, which is a very reasonable demand with the processor speeds that are currently available. Enter multithreading. Multithreading is the concept of having several different paths of code running at the same time.

When you introduce multithreading in your applications, you immediately make programming more complicated and add design time. You must know exactly what your application and all its threads are doing at all times. You have to account for deadlocks, race conditions and corrupting variable values. In this article we will examine the different methods in Visual Basic.Net to accomplish thread synchronization. We will learn what deadlocks and race conditions are and how to avoid these common problems with multithreading. ..."


This is a nice article on multithreading in VB.Net. One that I want to read in detail...

2 comments:

Anonymous said...

Hi Greg - I used to muck around with SyncLock, thread.start, etc. but I got put on to BackgroundWorker for .NET 1.1 at http://thecodeproject.com/vb/net/backgroundworker.asp. It might be worth checking out.

Cheers,

Greg said...

LOL. I think this is the second or third time someone has commented about that. Damn, now I have to check it out. :)

Thanks for the tip...