Threads
A thread is the facility by which program code is executed in Windows. It is the only Windows object capable of running code. A thread is always created within the context of a process and lives its entire life within that process.
A thread is the only means by which a process carries out work. Without threads, processes can't do anything.
Key Thread Terms and Concepts
✓ Entry-point function— the function address at which a thread begins executing. For the main thread, this is the entry point of the application (often a function named main() or something similar); for all other threads, the entry-point function is specified when the thread is created and is basically a simple callback routine.
✓ Thread— the Windows object by which application ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access