Skip to content

Aarushi-Singhal/readers-writers-solution-in-c

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Readers Writers Problem Solution Using Semaphore and Mutex

The first readers writers problem is one of the classical examples of synchronization. This program simulates a readers writers problem in C

Blog : https://shivammitra.com/reader-writer-problem-in-c

Compiling the program: gcc reader-writer.c -pthread

Running the program: ./a.out

Output

output

About

First readers writers solution using semaphore and mutex in c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C 100.0%