Thursday, December 5, 2024

CST334 - Week 6

Write what you learned this sixth week in CST 334

Topic: Semaphores

This week, we continued learning and explored the topic of semaphores and their use in synchronizing multi-threaded applications. In our lab, the goal was to become familiar with semaphores, use them for synchronization, and solve the producer-consumer problem. This was done by tracking available buffer slots and ensuring mutual exclusion using semaphores. Overall, I found the lab interesting, as it deepened my understanding of how semaphores manage shared resources in multi-threaded programs.

No comments:

Post a Comment

CST438 - Week 8

With week 8 coming to a close and the holidays just around the corner, my time in this Software Engineering class is also coming to an end. ...