Explain fundamental models of inter process communication, Computer Engineering

Assignment Help:

Explain the two fundamental models of inter process communication.

Two kinds of message passing system are given as:

(a) Direct Communication: Along with direct communication, each process which needs to communicate should explicitly name the recipient or sender of the communication. In this way, the send and receive primitives are explained as:

  • send(P, message)- It send a message to process P.
  • receive(Q, message)- It receive a message from process Q. The communication link in this scheme has the subsequent properties:
  • A link is established automatically between every pair of processes that want to communicate. The processes require identifying only each other's know to communicate.
  • A link is connected with exactly two processes.
  • Certainly one link exists among each pair of processes.

(b) With indirect communication, the messages are sent to and received from mail-boxes or from ports. All mailboxes have a unique identification. In this method, a process can communicate with several other processes via a number of various mailboxes. Two processes can communicate only if they share a mailbox. The send and receive primitives are defined as given as below:

  • send (A, message)- it send a message to mailbox A
  • receive (A, message)- It receive a message from mailbox A. In this system, a communication link has the subsequent properties:
  • A link is established among a pair of processes only if both members of the pair have a shared mailbox.
  • A link may be connected with more than two processes.
  • A number of various links may exist between each pair of communicating processes, along with each link corresponding to one mailbox.

Related Discussions:- Explain fundamental models of inter process communication

Define deadlock, Define deadlock? Deadlock is a condition, wherein proc...

Define deadlock? Deadlock is a condition, wherein processes never finish executing and system resources are tied up, preventing another job from beginning. A process requests r

Output comparators, Output comparators are used in  Theses are used in ...

Output comparators are used in  Theses are used in Dynamic testing of single and multiple module.

Realize the basic gates with any one universal gate, What is a universal ga...

What is a universal gate? Give examples. Realize the basic gates with any one universal gate. Ans: Universal Gates:   NAND and NOR are termed as Universal gates. The OR, AN

Explain the application of e-commerce in home banking, Explain the applicat...

Explain the application of E-Commerce in Home Banking. Home Banking: E-commerce is employed in Home Banking like one call or one click. Internet banking or online bank

Logistics planning, During the Persian Gulf crisis of 1991, U .S forces dep...

During the Persian Gulf crisis of 1991, U .S forces deployed a Dynamic Analysis and Re planning Tool, DART ( Cross and Walker, 1994) to do automated logistics planning and schedu

What is compact disk recordable, Q. What is Compact Disk Recordable? To...

Q. What is Compact Disk Recordable? To accommodate applications in which just one or a small number of copies of a set data is required write-once read-many CD called as CD Rec

What is clr, What is CLR?  CLR is .NET equivalent of Java Virtual Mach...

What is CLR?  CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that changes a MSIL code into the host machine language code, which is then implemented a

What is ordered directive, Q. What is Ordered directive? This directive...

Q. What is Ordered directive? This directive is used in combination with for and parallel for directives to cause an iteration to be executed in order that it would have been h

What is data movement, Data movement instructions shift data from one locat...

Data movement instructions shift data from one location to another. The source and destination locations are verified by the addressing modes, and can be registers or memory. Many

Show the categories of web browser, Q. Show the categories of Web browser? ...

Q. Show the categories of Web browser? The two basic categories of Web browser are: • Text-only browsers: A text-only browser like Lynx allows you to view Web pag

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd