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 NOTE: this website is out of date. This is the course web site from a past quarter. If you are a current student taking the course, you should visit the current class web site instead. If the current website is not yet visible by going to cs111.stanford.edu, it may be accessible by visiting this link until the new page is mounted at this address. Please be advised that courses' policies change with each new quarter and instructor, and any information on this out-of-date page may not apply to you. --> Due: Mon
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
- CS111 Assignment 5: Dispatching and Implementing Locks/CVsweb.stanford.edu
- Time, Clocks, and the Ordering of Events in a Distributed Systemlamport.azurewebsites.net
- C++11 Memory Modelpeople.cs.pitt.edu
- Swift Concurrency Waits for No Onesaagarjha.com
- Problem Set 4: Memory Scrambleweb.mit.edu
- GitHub - stanford-cs149/asst2: Stanford CS149 -- Assignment 2 · GitHubgithub.com
- Lab 2: Simulation 2 - CS2030S Programming Methodology IInus-cs2030s.github.io