OS students, I added readers/writers code with semaphores and with locks&condition variables to the code examples on the course's webpage. The semaphore version is readers-preference and the locks&condition variables solution is fair (no preference). I also added barrier synchronization example with semaphores. Thanks, -- Mikhail