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 ...

Get Guru's Guide to SQL Server Architecture and Internals, The 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.