I also learned that concurrency through multiple threads is referred to as multithreading. When a CPU is assigned a unique thread, the program being executed can run faster. Additionally, the advantage of multithreading is that memory maps do not need to be updated when switching between threads.
This week, I gained hands-on experience with lab number 5, which allowed me to see in real-time how threads are created and joined. I also worked on implementing a bug fix that was found within lab 5.
Overall, this week's topics helped me understand the importance of mutual exclusion and concurrency in developing efficient and effective multi-threaded programs.
No comments:
Post a Comment