sociallyencrypted / Interprocess-Communication

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C 97.5%Language:Makefile 2.5%