Week 30 (7/30/2025 - 8/5/2025)
(Click on READ MORE for better formatting)
Hi everyone, welcome to my 30th blog! This is the Week 6 post for CST 334 Operating Systems.- Write a 1-2 paragraph journal post, of at least 250 words, of what you learned this week in CST 334.
- Compared to the weeks prior, Week 6 was also lighter in terms of new material. Instead of the usual five chapters, we only covered three. The lecture videos help recap these textbook readings, covering concepts such as condition variables, bounded buffer coding, semaphores, and synchronization barriers. However, the lectures also covered the Anderson/Dahlin method, which is based off another text. For the readings of this week, I read OSTEP Chapters 30, 31, and 32. Some examples of concurrency bugs that were covered in the text include atomicity-violation, order-violation, simple deadlock, circular-waiting, hold-and-wait, no preemption, mutual exclusion. The text also had information about semaphores, which is an object manipulable by two routines: sem_wait() and sem_post(). Assignments tied to the lecture side of this week include watching the aforementioned lecture videos, Quiz 6, and the Week 6 Discussion. This week, each contributor of the group begun writing their script for the group project video. The idea is that these scripts hopefully translate well for the group summary so we spend less time on the summary page and more time on the video. Finally, there was an extra credit opportunity available by filling out the survey sent out by the CS Online advisor, Kayla.
- While Week 6 did not have any labs, it did house Programming Assignment 5. In this particular project, I made a database be thread-safe by adding in locks and condition variables. Once this was done, I made it where the web server was multi-threaded and able to use the thread-safe database. Overall, while this project is not that lengthy in terms of the amount of code needed for the tests to pass, debugging and testing took a while because some of the unit tests used in this project have programmed delays.
That is all for this week, see you in my Week 31 post!
Comments
Post a Comment