Operating system 6 - producer consumer issues

Problem Description: One or more Producers place data in a buffer after productionA single consumer fetches data from the buffer for processingOnly one producer or consumer can access the buffer at any time Using semaphores to solve the producer consumer problem Problem analysis: Only one thread can operate the buffer at any time (mut ...

Posted by jfeather on Wed, 22 Sep 2021 20:23:59 +0200

Chapter 26 (Concurrency: Introduction) of Operating Systems: Three Easy Pieces

Introduction to operating system : Operating Systems: Three Easy Pieces After class exercises: https://pages.cs.wisc.edu/~remzi/OSTEP/Homework/homework.html The translation of the README part of the exercises after class in this chapter (easy to view later): Welcome to this simulator. The idea is to get familiar with threads by observing h ...

Posted by kristian_gl on Mon, 06 Sep 2021 03:37:40 +0200