Week 26 - Process Management
This week I learned about how processes interact and explored how to manage their execution. Our lab this week had us work with system calls like fork(), exec, wait(), and exit(). We wrote a program that created a child process using fork() so that we can run both the parent and child processes together. We also experimented with different delays between the outputs.
Additionally, I practiced using command line tools and using makefiles to automate build processes. I also got a look into the C to see how we can use system calls like exec() to replace the child processes’ context with a new program. I also observed how to properly synchronize parent-child processes with wait().
Aside from studying processes creation, concepts like multi-threading and scheduling were covered. This week’s content gave me a deeper understanding on how processes are made and managed, and how they behave in a Linux environment.
Comments
Post a Comment