You are on page 1of 1

Implementation of Inter Process Communication between multiple

processes in a distributed environment.


Abstract:
Inter Process Communication (IPC) refers to a mechanism, where the operating systems allow
various processes to communicate with each other. This involves synchronizing their actions and
managing shared data. In this project we are implementing a mutual exclusion mechanism to
access a shared block of memory between multiple real processes running in a pool of distributed
computers connected to a network. We have used adata structures to implement a shared memory
and, a semaphore.
Whenever a new real process is created which wants to access the shared memory or in other
words the critical section. We will use this semaphore to exclude all process from interfering the
current process when it is executing its own critical section.
We are using C Programming language to solve the problem. Since C language has the
highest level of efficency in the kernels so it is much easier to work in tighter constraints.
unistd.h
In the C and C++ programming languages, unistd.h is the name of the header file that provides
access to the POSIX operating system API.The Portable Operating System Interface (POSIX) is a family
of standards specified by the IEEE Computer Society for maintaining compatibility between operating
systems. POSIX defines the application programming interface (API), along with command line shells and
utility interfaces, for software compatibility with variants of Unix and other operating systems. It is
defined by the POSIX.1 standard, the base of the Single Unix Specification, and should therefore be
available in any conforming operating system/compiler

Hari Venkatesh(18MCA0067)
Shaswata Ganguly(18MCA0021)

You might also like