The animated TECHTip Tutorial is available here.

A Deadlock occurs when each thread is waiting for another thread. A race condition is when one thread finishes before another on which it depends, causing the previous thread to use a bogus (invalid) value or error.

A thread is programming code that is processed (by the CPU [Central Processing Unit]) serially (1, 2, 3, 4, 32, N, etc.) and executed within a process – a system of virtual memory space, code, data, and system resources.

Shown in the tutorial is a Single-Threaded Process with each COM being processed by the CPU one at a time. Each thread can run separate sections of code called Multiple Threads (N) that can execute the same section of code.

About TECHtionary
TECHtionary is the World’s first and largest animated library/magazine on technology – Web Hosting Magazine’s Editor’s Choice for Technical Help. TECHtionary produces white papers, magazine articles, in-depth product reviews, training tools, and custom animations. Call 303-594-3047 or e-mail [email protected] to let us show you how we can help you with exciting new tutorials on your products and services.

[tags]techtionary,com,deadlock,thread,race condition[/tags]