CS111 Assignment 4: Synchronization and Trust
Assignment by David Mazières and John Ousterhout, with modifications by Nick Troccoli, Benjamin Xie and Xiyu Zhang. Ethics case study includes material from Kathleen Creel. IMPORTANT: reuse of prior work is not permitted for assign4. In other words, if you have done any work on assign4 in previous quarters, whether formerly enrolled or via auditing, reusing or referring to that work is not permitted while working on assign4 - this is because this assignment has changed significantly in some prior quarters, and so we require that you not refer to prior work (if any). Please let us know if you have any questions or concerns. In this project you will reflect on the impact of complexities in writing multithreaded code and evaluating trust, and implement code using the "monitor" pattern to complete two synchronization problems with mutexes and condition variables. For the programs you will write, one is for passengers boarding Caltrain, and another is for grouping together guests at a party
CS111 Assignment 4: Synchronization and Trust Assignment 4: Synchronization and Trust --> Due: Mon Feb 24 11:59 pm Late submissions accepted until Wed Feb 26 11:59 pm Assignment by David Mazières and John Ousterhout, with modifications by Nick Troccoli, Benjamin Xie and Xiyu Zhang. Ethics case study includes material from Kathleen Creel. IMPORTANT: reuse of prior work is not permitted for assign4. In other words, if you have done any work on assign4 in previous quarters, whether formerly enrolled or via auditing, reusing or referring to that work is not permitted while working on assign4 - thi
Explore this link on the map →related reading
- CS111 Assignment 4: Synchronization and Trustweb.stanford.edu
- LittleBookOfSemaphores.pdfgreenteapress.com
- Reading 16: Mutual Exclusionweb.mit.edu
- Three Ways For C++ Thread Synchronization in C++11 and C++14 | Chrizogchrizog.com
- CS111 Assignment 5: Dispatching and Implementing Locks/CVsweb.stanford.edu
- Time, Clocks, and the Ordering of Events in a Distributed Systemlamport.azurewebsites.net
- CS111 Assignment 5: Dispatching and Implementing Locks/CVsweb.stanford.edu
- Swift Concurrency Waits for No Onesaagarjha.com
- C++11 Memory Modelpeople.cs.pitt.edu
- Measuring Mutexes, Spinlocks and how Bad the Linux Scheduler Really is | Probably Danceprobablydance.com
- Locking in WebKit | WebKitwebkit.org
- Problem Set 4: Memory Scrambleweb.mit.edu