CST 334 Week 6
This week I learned about semaphores and their role in synchronizing threads to prevent concurrency issues. The focus was on solving problems like the producer-consumer scenario, where shared resources must be accessed in a controlled manner to avoid conflicts or resource starvation. In the lab, I worked on implementing synchronization using semaphores, which helped me understand their practical application and importance in maintaining program stability. The readings and lectures covered the foundational concepts of semaphores and monitors, providing a clearer picture of how these tools are used to manage thread communication effectively. This week’s work deepened my understanding of concurrency challenges and how semaphores can ensure safe and predictable thread interactions.
Comments
Post a Comment