Skip to content

kagetsuki1997/OS-Project-Reader-Writer-Problem

Repository files navigation

OS-Project-Reader-Writer-Problem

Requiment

Here one has a system of r readers and w writers that all access a common database (or some
other resource). A reader may share the resource with an unlimited number of other readers,
but a writer must be in exclusive control of the resource. We call this the RW problem. Two
additional constraints characterize variants of the problem. Find a solution to each of the
following RW1 and RW2 problem, which does not cause starvation of readers and writers.
(a) Problem RW1. As soon as a writer is ready to write, no new reader should get permission
to run. Starvation of readers is a possibility here.
(b) Problem RW2. No writer is permitted to start running if there are any waiting readers.
Here it is possible to starve the writers.

Envoirnment

  1. python3
  2. pygame
  3. tkinter

TODO

  1. Controler
  2. Reader
  3. Writer
  4. GUI
  5. AWS Docker
https://docs.google.com/document/d/1LMssST-uJ6HffqkGv9KrR3-QaEQpjNM-aqea7vgg-eY/edit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages