Introduction of Process Synchronization
Sebuah artikel yang berisi penjelasan awal seputar materi Process Synchronization yang dibahas pada week 07. Artikel menjadi pengantar awal yang bagus dalam memberikan pemahaman awal dan apa-apa saja yang akan dipelajari untuk materi pada week 07.
Peterson’s Problem
Artikel yang menjelaskan Peterson’s Problem. Artikel ini menjelaskan sintaks kode dari Peterson’s Problem disertakan juga kelemahan dari pemakaian Peterson’s Problem itu sendiri.
Critical Section Animation
The critical section problem is an issue where there is a resource that can only be used by one process at a time, but multiple processes want to use it. That concept is visualized with an analogy by the video above, which helps to understand the criteria/conditions for solving this problem.
Operating Systems: Process Synchronization The page above is an excellent summary (though still very long and detailed) of the entire chapter of Synchronization, from its concept to different solutions like Peterson’s Solution (software-based) and Semaphores (hardware solution). The page also includes snippets of C code to help us understand the problems and solutions in practice.
What is a semaphore?
Aside from mutual exclusion (mutex), another approach that you can take in solving the critical section problem is using semaphores. The video above is quite informative and well-explained.