Autosave: 2024-04-20 13:40:05

This commit is contained in:
thomasabishop 2024-04-20 13:40:05 +01:00
parent bdada125e7
commit 6b2ff72a11
2 changed files with 6 additions and 0 deletions

Binary file not shown.

View file

@ -45,6 +45,12 @@ this will be a new memory address for the latest item. When an item is removed,
the reverse happens. The previously top address is cleared and the pointer
points to the new top item.
## Threads
For every thread that a program spawns, it gets its own stack or "stack frame".
Stack memory within the thread can only be accessed by processes within that
thread which is what makes it well suited for managing scoped function memory.
### Role in program execution
1. Function call management: a stack records the key information pertaining to