SlideShare a Scribd company logo
1 of 4
Download to read offline
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

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

Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating systemMoeez Ahmad
ย 
Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsAya Mahmoud
ย 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.pptssuserf7cd2b
ย 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.pptssuserf7cd2b
ย 
MIcrokernel
MIcrokernelMIcrokernel
MIcrokernelAbu Azzam
ย 
Operating system by aman kr kushwaha
Operating system by aman kr kushwahaOperating system by aman kr kushwaha
Operating system by aman kr kushwahaAMAN KUMAR KUSHWAHA
ย 
Networking concepts by Sachidananda M H
Networking concepts by Sachidananda M HNetworking concepts by Sachidananda M H
Networking concepts by Sachidananda M HSachidananda M H
ย 
Network Protocol and TCP/IP
Network Protocol and TCP/IPNetwork Protocol and TCP/IP
Network Protocol and TCP/IPBwsrang Basumatary
ย 
OsI reference model
OsI reference modelOsI reference model
OsI reference modelLakshmiSamivel
ย 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfKishaKiddo
ย 
Wp simoneau osi_model
Wp simoneau osi_modelWp simoneau osi_model
Wp simoneau osi_modelJagadish Gurrala
ย 
Osi model
Osi modelOsi model
Osi modelNazifa95
ย 
IPC manufacturer
IPC manufacturerIPC manufacturer
IPC manufacturerAccelusRobotics
ย 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.pptbalewayalew
ย 
Lec+3-Introduction-to-Distributed-Systems.pdf
Lec+3-Introduction-to-Distributed-Systems.pdfLec+3-Introduction-to-Distributed-Systems.pdf
Lec+3-Introduction-to-Distributed-Systems.pdfsamaghorab
ย 
Chap 2 network models
Chap 2 network modelsChap 2 network models
Chap 2 network modelsMukesh Tekwani
ย 
CSS 12 - Q1 - Lesson 3.pptx
CSS 12 - Q1 - Lesson 3.pptxCSS 12 - Q1 - Lesson 3.pptx
CSS 12 - Q1 - Lesson 3.pptxCatherineBotardo3
ย 
Internet
InternetInternet
Internetpacatarpit
ย 
006 Osi Model
006 Osi Model006 Osi Model
006 Osi ModelBELKA08
ย 

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

Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
ย 
Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systems
ย 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.ppt
ย 
06 - OSI Model.ppt
06 - OSI Model.ppt06 - OSI Model.ppt
06 - OSI Model.ppt
ย 
MIcrokernel
MIcrokernelMIcrokernel
MIcrokernel
ย 
Operating system by aman kr kushwaha
Operating system by aman kr kushwahaOperating system by aman kr kushwaha
Operating system by aman kr kushwaha
ย 
Networking concepts by Sachidananda M H
Networking concepts by Sachidananda M HNetworking concepts by Sachidananda M H
Networking concepts by Sachidananda M H
ย 
Network Protocol and TCP/IP
Network Protocol and TCP/IPNetwork Protocol and TCP/IP
Network Protocol and TCP/IP
ย 
OsI reference model
OsI reference modelOsI reference model
OsI reference model
ย 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdf
ย 
Wp simoneau osi_model
Wp simoneau osi_modelWp simoneau osi_model
Wp simoneau osi_model
ย 
Osi model
Osi modelOsi model
Osi model
ย 
IPC manufacturer
IPC manufacturerIPC manufacturer
IPC manufacturer
ย 
OSI Model
OSI ModelOSI Model
OSI Model
ย 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
ย 
Lec+3-Introduction-to-Distributed-Systems.pdf
Lec+3-Introduction-to-Distributed-Systems.pdfLec+3-Introduction-to-Distributed-Systems.pdf
Lec+3-Introduction-to-Distributed-Systems.pdf
ย 
Chap 2 network models
Chap 2 network modelsChap 2 network models
Chap 2 network models
ย 
CSS 12 - Q1 - Lesson 3.pptx
CSS 12 - Q1 - Lesson 3.pptxCSS 12 - Q1 - Lesson 3.pptx
CSS 12 - Q1 - Lesson 3.pptx
ย 
Internet
InternetInternet
Internet
ย 
006 Osi Model
006 Osi Model006 Osi Model
006 Osi Model
ย 

More from aesalem06

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

More from aesalem06 (20)

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

Recently uploaded

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
ย 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
ย 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
ย 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
ย 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
ย 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
ย 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
ย 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
ย 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
ย 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
ย 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
ย 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
ย 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
ย 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
ย 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
ย 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
ย 
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
ย 

Recently uploaded (20)

Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Tilak Nagar Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
ย 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
ย 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
ย 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
ย 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
ย 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
ย 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
ย 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
ย 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
ย 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
ย 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
ย 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
ย 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ย 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
ย 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
ย 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
ย 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
ย 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
ย 
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
ย 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
ย 

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