Autosave: 2024-04-20 13:40:05
This commit is contained in:
parent
bdada125e7
commit
6b2ff72a11
2 changed files with 6 additions and 0 deletions
BIN
.zk/notebook.db
BIN
.zk/notebook.db
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue