This week, we’ll be diving deep into two important operating system constructs: Processes and Threads.
Once you’re finished with this module, try thinking about how you can reduce the creation/performance overhead of threads and processes.
- Is there a way to forgo the extra creation/wind-down cost of these constructs (you’ve seen this here in previous weeks
)? - Is it possible to create a generic thread that stays on standby and waits for work?
- How would you design such a system? What are the benefits of offloading work from the main thread?