This commit is contained in:
LukeMathWalker 2024-08-01 14:54:25 +02:00
parent be5c0e8bae
commit 2f067058ce
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ and why we might want to use them.
## What is a thread? ## What is a thread?
A **thread** is an execution context managed by the underlying operating system.\ A **thread** is an execution context managed by the underlying operating system.\
Each thread has its own stack, instruction pointer, and program counter. Each thread has its own stack and instruction pointer.
A single **process** can manage multiple threads. A single **process** can manage multiple threads.
These threads share the same memory space, which means they can access the same data. These threads share the same memory space, which means they can access the same data.