Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1)Please run the script file to compile the two files. 2)Run the consumer. ./cons 3)after running the consumer run the producer with the provided file called readingfile.This would look like ./prod readingfile 3)Both should attach memory and send the contents. 4)The read content will be placed in a new file called writingfile.txt if the file does not exist it will be created for you.

Optional If you would like to you can run multiple consumers for one producer just run the multiple consumers at the same time before running the producer.

About

The objective of this project is to utilize shared memory and semaphores in C to implement a producer and consumer system capable of reading and writing from a designated file.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors