Threads Explained
A thread is an operating system object that represents a path of code execution within a particular process. Every Win32 application has at least one thread—often called the primary thread or default thread—but applications are free to create other threads to perform other tasks.
Threads provide a means for running many distinct code routines simultaneously. Of course, unless you have more than one CPU in your computer, two threads can't truly run simultaneously. However, each thread is scheduled fractions of seconds of time by the operating system in such a way as to give the feeling that many threads are running simultaneously.
Tip
Threads aren't and never will be supported under 16-bit Windows. This means that any 32-bit ...
Get Borland® Delphi™ 6 Developer's Guide 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.