multi-threading

    Multithreading is a vast subject. This article aims to cover only some basics on multithreading. It also gives a small sample code to write a Multi threaded program in Win32. Multithreading is nothing but executing operations parallel. A multi-threaded operation will usually be embedded inside a function which returns a DWORD and takes a [...]

Introduction This article is about muilti – threading concept in .NET explained using C# as programming language. Multi threading is an important aspect that needs a special attention while building very huge system, especially when there is a trade off between efficiency (how fast the system works?) and performance (how correctly the system works?). With [...]

You might come across a situation where you need to write a multithreading Windows Application, where multiple threads make updates to the UI. The main purpose of this chapter is to inform you regarding one important issue you need to take care of. Create a new Windows Application Project. To the main form, add a [...]

The Thread Class: Once you’ve decided what work needs to be done in a separate thread by your application, you need to create an object of the Thread class. The Thread class is used for creating threads, controlling them, and for terminating them. I’ll show you how to use this class for creating a thread [...]

Your computer most probably has only one processor. One processor can carry out only one task at a time. But most probably, you run multiple applications simultaneously. How do they all work together even though you have only one processor? The answer is – multitasking. The operating system on your machine allocates the use of [...]