SlideShare a Scribd company logo
Inter-Process-Communication (or IPC for short) are mechanisms provided by the kernel to allow
processes to communicate with each other.
The types of inter process communication on Linux OS are:
The following IPC mechanisms are supported by Windows:
1. Clipboard - The clipboard acts as a central depository for data sharing among applications.
When a user performs a cut or copy operation in an application, the application puts the selected
data on the clipboard in one or more standard or application-defined formats. Any other
application can then retrieve the data from the clipboard, choosing from the available formats
that it understands.
2. File Mapping - File mapping enables a process to treat the contents of a file as if they were a
block of memory in the process's address space. The process can use simple pointer operations
to examine and modify the contents of the file. When two or more processes access the same file
mapping, each process receives a pointer to memory in its own address space that it can use to
read or modify the contents of the file.
3. Mailslot - Mailslots provide one-way communication. Any process that creates a mailslot is a
mailslot server. Other processes, called mailslot clients, send messages to the mailslot server by
writing a message to its mailslot.
4. RPC - RPC enables applications to call functions remotely. Therefore, RPC makes IPC as easy
as calling a function. RPC operates between processes on a single computer or on different
computers on a network.
5. Windows Socket - Windows Sockets is a protocol-independent interface capable of supporting
current and emerging networking capabilities.
The following IPC mechanisms are supported by Mac OS:
1. Mach Ports : Mach 3.0 is capable of running as a stand-alone kernel, with other traditional OS-
services like IO, file systems and networking stack running as user mode.It is much faster to
make a direct call between linked components than it is to send messages or do RPC between
separate tasks.
2. Apple Events : Universally supported by GUI applications on Mac OS for remote
control.Operations like opening or telling an application to open a file or quit etc can be done
using these.
3. Pasteboard - Copy Paste , Drag and drop done between applications is performed using this
technique.
4. Distributed Objects - Remote messaging feature of Cocoa to call an object in different Cocoa
applicaton.
Windows server uses the best technique to manage IPC because
a) It provides an efficient way for two or more processes on the same computer to share data.
b) It is capable of supporting current and emerging networking capabilities, such as quality of
service monitoring, robust asynchronous communication, I/O completion ports for superior
performance, and protocol-specific network
features.
=> Multiprocessing : refers to the use of two or morecentral processing units (CPU) within a
single computer system.All the operating systems provide support for multiprocessing.
Windows manages multiprocessing in the most efficient manner because it provides Increased
Throughput , Increased Reliability.
In this system, as the workload is distributed among several processors which results in increased
reliability. If one processor fails then its failure may slightly slow down the speed of the system
but system will work smoothly.
Process or Thread OS model approach ?
Multithreading requires careful programming since threads shares data structures that should
only be modified by one thread at a time. Unlike threads, processes don't share the same address
space.
Threads are considered as light weight because they use muh less resources than processes.
Threads are inter dependant on each other unlike processes which are independent of each other.
=> Distributed OS's also uses same process communication techniques which are used by
Desktop OS's like layered and middleware protocols , Remote Procedure calls , Remote
methods invocation etc.
Features of CISC :
1- Emphasis is on hardware and includes multi-clock complex instructions.
Limitations :
1- Small code sizes,high cycles per second.
Features of RISC :
1) Emphasis on Software and it has Low cycles per second, large code sizes
Limitations :
1) Single-clock, reduced simple instruction only
Solution
Inter-Process-Communication (or IPC for short) are mechanisms provided by the kernel to allow
processes to communicate with each other.
The types of inter process communication on Linux OS are:
The following IPC mechanisms are supported by Windows:
1. Clipboard - The clipboard acts as a central depository for data sharing among applications.
When a user performs a cut or copy operation in an application, the application puts the selected
data on the clipboard in one or more standard or application-defined formats. Any other
application can then retrieve the data from the clipboard, choosing from the available formats
that it understands.
2. File Mapping - File mapping enables a process to treat the contents of a file as if they were a
block of memory in the process's address space. The process can use simple pointer operations
to examine and modify the contents of the file. When two or more processes access the same file
mapping, each process receives a pointer to memory in its own address space that it can use to
read or modify the contents of the file.
3. Mailslot - Mailslots provide one-way communication. Any process that creates a mailslot is a
mailslot server. Other processes, called mailslot clients, send messages to the mailslot server by
writing a message to its mailslot.
4. RPC - RPC enables applications to call functions remotely. Therefore, RPC makes IPC as easy
as calling a function. RPC operates between processes on a single computer or on different
computers on a network.
5. Windows Socket - Windows Sockets is a protocol-independent interface capable of supporting
current and emerging networking capabilities.
The following IPC mechanisms are supported by Mac OS:
1. Mach Ports : Mach 3.0 is capable of running as a stand-alone kernel, with other traditional OS-
services like IO, file systems and networking stack running as user mode.It is much faster to
make a direct call between linked components than it is to send messages or do RPC between
separate tasks.
2. Apple Events : Universally supported by GUI applications on Mac OS for remote
control.Operations like opening or telling an application to open a file or quit etc can be done
using these.
3. Pasteboard - Copy Paste , Drag and drop done between applications is performed using this
technique.
4. Distributed Objects - Remote messaging feature of Cocoa to call an object in different Cocoa
applicaton.
Windows server uses the best technique to manage IPC because
a) It provides an efficient way for two or more processes on the same computer to share data.
b) It is capable of supporting current and emerging networking capabilities, such as quality of
service monitoring, robust asynchronous communication, I/O completion ports for superior
performance, and protocol-specific network
features.
=> Multiprocessing : refers to the use of two or morecentral processing units (CPU) within a
single computer system.All the operating systems provide support for multiprocessing.
Windows manages multiprocessing in the most efficient manner because it provides Increased
Throughput , Increased Reliability.
In this system, as the workload is distributed among several processors which results in increased
reliability. If one processor fails then its failure may slightly slow down the speed of the system
but system will work smoothly.
Process or Thread OS model approach ?
Multithreading requires careful programming since threads shares data structures that should
only be modified by one thread at a time. Unlike threads, processes don't share the same address
space.
Threads are considered as light weight because they use muh less resources than processes.
Threads are inter dependant on each other unlike processes which are independent of each other.
=> Distributed OS's also uses same process communication techniques which are used by
Desktop OS's like layered and middleware protocols , Remote Procedure calls , Remote
methods invocation etc.
Features of CISC :
1- Emphasis is on hardware and includes multi-clock complex instructions.
Limitations :
1- Small code sizes,high cycles per second.
Features of RISC :
1) Emphasis on Software and it has Low cycles per second, large code sizes
Limitations :
1) Single-clock, reduced simple instruction only

More Related Content

PDF
Inter Process Communication - IPC
PPTX
Linux IPC & Protection - Presentation Sehal & Talha.pptx
PPT
Processes and Threads in Windows Vista
PPT
Advanced Operating System, Distributed Operating System
PPTX
INTER PROCESS COMMUNICATION (IPC).pptx
PPTX
INTER PROCESS COMMUNICATION (IPC).pptx
PPTX
Unix-module4 -chap2.123156456484844546pptx
PDF
Lecture 3_Processes in Operating Systems.pdf
Inter Process Communication - IPC
Linux IPC & Protection - Presentation Sehal & Talha.pptx
Processes and Threads in Windows Vista
Advanced Operating System, Distributed Operating System
INTER PROCESS COMMUNICATION (IPC).pptx
INTER PROCESS COMMUNICATION (IPC).pptx
Unix-module4 -chap2.123156456484844546pptx
Lecture 3_Processes in Operating Systems.pdf

Similar to Inter-Process-Communication (or IPC for short) are mechanisms provid.pdf (20)

PPTX
Processbejdndnnnnnjsnsgsvvdvvvguigv.pptx
PPTX
Processprehsjsjsjskakwkwkejjdbdbdjj.pptx
PDF
project_531
PPT
Process Management.ppt
PDF
Interprocess communication with C++.pdf
PDF
3rd Meet Lecturer Notes.pdf
PPT
UNIT I Process management main concept.ppt
PPTX
Operating system
PPT
PDF
Inter-Process Communication in distributed systems
PPTX
PPTX
PPT
41_P17CSC104_20201209054563635172951.ppt
PDF
Task communication
PPTX
CS304PC:Computer Organization and Architecture Session 32 Interprocessors co...
PDF
System Programming - Interprocess communication
PPT
Linux and Inter Process communication Details
PPTX
Chapter 3 - InterProcess Communication.pptx
PPT
Inter-Process Communication (IPC) techniques on Mac OS X
PDF
Lecture-4_Process Management.pdf
Processbejdndnnnnnjsnsgsvvdvvvguigv.pptx
Processprehsjsjsjskakwkwkejjdbdbdjj.pptx
project_531
Process Management.ppt
Interprocess communication with C++.pdf
3rd Meet Lecturer Notes.pdf
UNIT I Process management main concept.ppt
Operating system
Inter-Process Communication in distributed systems
41_P17CSC104_20201209054563635172951.ppt
Task communication
CS304PC:Computer Organization and Architecture Session 32 Interprocessors co...
System Programming - Interprocess communication
Linux and Inter Process communication Details
Chapter 3 - InterProcess Communication.pptx
Inter-Process Communication (IPC) techniques on Mac OS X
Lecture-4_Process Management.pdf
Ad

More from aesalem06 (20)

PDF
#!binbash# Decode a UDP packet raw binary dataDonelet offs=40.pdf
PDF
Youd only need SOCl2 So d then na .pdf
PDF
you can see the difference bw IE5 and IE6 is ver.pdf
PDF
they have the same vapour pressure .pdf
PDF
The elements As, Sb and Bi show no tendency to fo.pdf
PDF
taking the distance from point P in water for len.pdf
PDF
PH3 Phosphine H3N ammonia H3PO2 Hypophosphorus.pdf
PDF
order is 3 and it is a linear .pdf
PDF
Nope. When an atom is ionized it only affects the.pdf
PDF
L2^12 .pdf
PDF
HOCl (aq) + HCI(aq) - H2O(l) + Cl2 (g) 6Cl2(g) +.pdf
PDF
In Atmospehere Pressure = 105760 = 0.138 Atmo.pdf
PDF
H2SO4 is a strong electrolyte. It dissociates alm.pdf
PDF
DE is positive in exothermic reactions .pdf
PDF
The yield to maturity (YTM) is the measure of bonds rate of return t.pdf
PDF
TDS (Total Dissolved Solids ) is a measure of the combined content o.pdf
PDF
magnesium oxide + water = magnesium hydroxideMgO (s) + H2O (l) =.pdf
PDF
Meiosis, inheritance and variationThe uniqueness and similarities.pdf
PDF
B)120.0° note So3 is sp2-hybridized and adopts .pdf
PDF
imple cellular phones that do very little over voice and text line o.pdf
#!binbash# Decode a UDP packet raw binary dataDonelet offs=40.pdf
Youd only need SOCl2 So d then na .pdf
you can see the difference bw IE5 and IE6 is ver.pdf
they have the same vapour pressure .pdf
The elements As, Sb and Bi show no tendency to fo.pdf
taking the distance from point P in water for len.pdf
PH3 Phosphine H3N ammonia H3PO2 Hypophosphorus.pdf
order is 3 and it is a linear .pdf
Nope. When an atom is ionized it only affects the.pdf
L2^12 .pdf
HOCl (aq) + HCI(aq) - H2O(l) + Cl2 (g) 6Cl2(g) +.pdf
In Atmospehere Pressure = 105760 = 0.138 Atmo.pdf
H2SO4 is a strong electrolyte. It dissociates alm.pdf
DE is positive in exothermic reactions .pdf
The yield to maturity (YTM) is the measure of bonds rate of return t.pdf
TDS (Total Dissolved Solids ) is a measure of the combined content o.pdf
magnesium oxide + water = magnesium hydroxideMgO (s) + H2O (l) =.pdf
Meiosis, inheritance and variationThe uniqueness and similarities.pdf
B)120.0° note So3 is sp2-hybridized and adopts .pdf
imple cellular phones that do very little over voice and text line o.pdf
Ad

Recently uploaded (20)

PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Pre independence Education in Inndia.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Insiders guide to clinical Medicine.pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
TR - Agricultural Crops Production NC III.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
RMMM.pdf make it easy to upload and study
Pre independence Education in Inndia.pdf
01-Introduction-to-Information-Management.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Classroom Observation Tools for Teachers
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Final Presentation General Medicine 03-08-2024.pptx

Inter-Process-Communication (or IPC for short) are mechanisms provid.pdf

  • 1. Inter-Process-Communication (or IPC for short) are mechanisms provided by the kernel to allow processes to communicate with each other. The types of inter process communication on Linux OS are: The following IPC mechanisms are supported by Windows: 1. Clipboard - The clipboard acts as a central depository for data sharing among applications. When a user performs a cut or copy operation in an application, the application puts the selected data on the clipboard in one or more standard or application-defined formats. Any other application can then retrieve the data from the clipboard, choosing from the available formats that it understands. 2. File Mapping - File mapping enables a process to treat the contents of a file as if they were a block of memory in the process's address space. The process can use simple pointer operations to examine and modify the contents of the file. When two or more processes access the same file mapping, each process receives a pointer to memory in its own address space that it can use to read or modify the contents of the file. 3. Mailslot - Mailslots provide one-way communication. Any process that creates a mailslot is a mailslot server. Other processes, called mailslot clients, send messages to the mailslot server by writing a message to its mailslot. 4. RPC - RPC enables applications to call functions remotely. Therefore, RPC makes IPC as easy as calling a function. RPC operates between processes on a single computer or on different computers on a network. 5. Windows Socket - Windows Sockets is a protocol-independent interface capable of supporting current and emerging networking capabilities. The following IPC mechanisms are supported by Mac OS: 1. Mach Ports : Mach 3.0 is capable of running as a stand-alone kernel, with other traditional OS- services like IO, file systems and networking stack running as user mode.It is much faster to make a direct call between linked components than it is to send messages or do RPC between separate tasks. 2. Apple Events : Universally supported by GUI applications on Mac OS for remote control.Operations like opening or telling an application to open a file or quit etc can be done using these. 3. Pasteboard - Copy Paste , Drag and drop done between applications is performed using this technique. 4. Distributed Objects - Remote messaging feature of Cocoa to call an object in different Cocoa applicaton. Windows server uses the best technique to manage IPC because
  • 2. a) It provides an efficient way for two or more processes on the same computer to share data. b) It is capable of supporting current and emerging networking capabilities, such as quality of service monitoring, robust asynchronous communication, I/O completion ports for superior performance, and protocol-specific network features. => Multiprocessing : refers to the use of two or morecentral processing units (CPU) within a single computer system.All the operating systems provide support for multiprocessing. Windows manages multiprocessing in the most efficient manner because it provides Increased Throughput , Increased Reliability. In this system, as the workload is distributed among several processors which results in increased reliability. If one processor fails then its failure may slightly slow down the speed of the system but system will work smoothly. Process or Thread OS model approach ? Multithreading requires careful programming since threads shares data structures that should only be modified by one thread at a time. Unlike threads, processes don't share the same address space. Threads are considered as light weight because they use muh less resources than processes. Threads are inter dependant on each other unlike processes which are independent of each other. => Distributed OS's also uses same process communication techniques which are used by Desktop OS's like layered and middleware protocols , Remote Procedure calls , Remote methods invocation etc. Features of CISC : 1- Emphasis is on hardware and includes multi-clock complex instructions. Limitations : 1- Small code sizes,high cycles per second. Features of RISC : 1) Emphasis on Software and it has Low cycles per second, large code sizes Limitations : 1) Single-clock, reduced simple instruction only Solution Inter-Process-Communication (or IPC for short) are mechanisms provided by the kernel to allow processes to communicate with each other. The types of inter process communication on Linux OS are: The following IPC mechanisms are supported by Windows:
  • 3. 1. Clipboard - The clipboard acts as a central depository for data sharing among applications. When a user performs a cut or copy operation in an application, the application puts the selected data on the clipboard in one or more standard or application-defined formats. Any other application can then retrieve the data from the clipboard, choosing from the available formats that it understands. 2. File Mapping - File mapping enables a process to treat the contents of a file as if they were a block of memory in the process's address space. The process can use simple pointer operations to examine and modify the contents of the file. When two or more processes access the same file mapping, each process receives a pointer to memory in its own address space that it can use to read or modify the contents of the file. 3. Mailslot - Mailslots provide one-way communication. Any process that creates a mailslot is a mailslot server. Other processes, called mailslot clients, send messages to the mailslot server by writing a message to its mailslot. 4. RPC - RPC enables applications to call functions remotely. Therefore, RPC makes IPC as easy as calling a function. RPC operates between processes on a single computer or on different computers on a network. 5. Windows Socket - Windows Sockets is a protocol-independent interface capable of supporting current and emerging networking capabilities. The following IPC mechanisms are supported by Mac OS: 1. Mach Ports : Mach 3.0 is capable of running as a stand-alone kernel, with other traditional OS- services like IO, file systems and networking stack running as user mode.It is much faster to make a direct call between linked components than it is to send messages or do RPC between separate tasks. 2. Apple Events : Universally supported by GUI applications on Mac OS for remote control.Operations like opening or telling an application to open a file or quit etc can be done using these. 3. Pasteboard - Copy Paste , Drag and drop done between applications is performed using this technique. 4. Distributed Objects - Remote messaging feature of Cocoa to call an object in different Cocoa applicaton. Windows server uses the best technique to manage IPC because a) It provides an efficient way for two or more processes on the same computer to share data. b) It is capable of supporting current and emerging networking capabilities, such as quality of service monitoring, robust asynchronous communication, I/O completion ports for superior performance, and protocol-specific network features.
  • 4. => Multiprocessing : refers to the use of two or morecentral processing units (CPU) within a single computer system.All the operating systems provide support for multiprocessing. Windows manages multiprocessing in the most efficient manner because it provides Increased Throughput , Increased Reliability. In this system, as the workload is distributed among several processors which results in increased reliability. If one processor fails then its failure may slightly slow down the speed of the system but system will work smoothly. Process or Thread OS model approach ? Multithreading requires careful programming since threads shares data structures that should only be modified by one thread at a time. Unlike threads, processes don't share the same address space. Threads are considered as light weight because they use muh less resources than processes. Threads are inter dependant on each other unlike processes which are independent of each other. => Distributed OS's also uses same process communication techniques which are used by Desktop OS's like layered and middleware protocols , Remote Procedure calls , Remote methods invocation etc. Features of CISC : 1- Emphasis is on hardware and includes multi-clock complex instructions. Limitations : 1- Small code sizes,high cycles per second. Features of RISC : 1) Emphasis on Software and it has Low cycles per second, large code sizes Limitations : 1) Single-clock, reduced simple instruction only