Skip to content

Implementations for Shared Memory, FIFOs, and Unix Sockets, written for the course CSE231: Operating Systems

Notifications You must be signed in to change notification settings

sociallyencrypted/Interprocess-Communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Interprocess-Communication

This assignment implements three kinds of interprocess communication to send a list of 50 strings by breaking them into packets of 10 each, sending them with their indices, and waiting for the greatest index to be returned to send the next index.

Installation

Clone this repo, cd into it, and run:

mkdir bin
make

This will generate the binaries for all three IPC methods.

Usage

You can run the Socket IPC using

./P1socket & ./P2socket

You can run the FIFO IPC using

./P1fifo & ./P2fifo

You can run the Shared Memory IPC using

./P1shared & ./P2shared

References

Beej's Guide to UNIX IPCs

About

Implementations for Shared Memory, FIFOs, and Unix Sockets, written for the course CSE231: Operating Systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published