Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 319 Bytes

File metadata and controls

7 lines (5 loc) · 319 Bytes

Starve-Free-Readers-Writers-Solution

Here I have provided a cpp code as a solution for Readers-Writets starvation and moreover a documentation file containing pseudocode(Starve-Free.md) specifying the same.

Use

C++

g++ Starve-Free.c -pthread -o cpp_output -std=c++11 && ./cpp_output && rm cpp_output