threads_vs_processes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| threads_vs_processes [2025/04/01 15:57] – carl | threads_vs_processes [2025/04/10 12:57] (current) – [Process Wide] carl | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| The main reason I see for using fork() is that you don't need to serialize (pickly) the data shared between forked processes. | The main reason I see for using fork() is that you don't need to serialize (pickly) the data shared between forked processes. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== Process Wide ===== | ||
| + | |||
| + | Here are some things that are shared across the process: | ||
| + | |||
| + | - Environment variables | ||
| + | - Argv | ||
| + | - Signal Handlers | ||
| + | - FDs | ||
| + | - Linked Libraries | ||
| + | - Statically initialized storage | ||
| + | - Page Table | ||
| + | - TLB? | ||
| + | |||
| + | |||
| + | |||
threads_vs_processes.1743548269.txt.gz · Last modified: by carl
