Questions tagged [message-passing]

Message passing is a data transfer mechanism that is used in various forms in a number of programming languages

The basic form of data transfer in programming languages is the assignment statement. It is carried out by a (computing) agent that moves data from one part of the memory to another. The substantial difference between assignment and message passing is that message passing incorporates two active agents, a sender and a receiver. The sender has exclusive control over the source locations of the data to be transferred, while the receiver has exclusive control over the destination of the data.

Message passing can be classified by a number of criteria, the most important of which is

  • Mode of operation:

    • Synchronous (also called rendezvous or handshaking): Sender and receiver perform their transfer operations simultaneously. They may have to wait before transfer becomes possible.
    • Asynchronous: Sender is allowed to transfer data to a temporary location where it can be accessed by the receiver. Sender does not have to wait if temporary storage is available.
  • Addressing:

    • Direct: Sender and receiver refer to each other directly, by using unique IDs.
    • Indirect: There is an auxiliary object (channel) that connects the sender and the receiver, who only refer to the channel during message passing.
409 questions
-2
votes
1 answer

undefined after message passing in chrome extension

I have a big problem here.after that my script will be finished i hope :p I can post script if nessessary. basically this is what i have been doing. go to some webpage and grab links through content.js pass those links as a array to…
-3
votes
2 answers

Erlang: How to receive a message only from a specific sender?

In Erlang, how can I receive a message sent from a specific pid?
Mahdi
  • 1,871
  • 2
  • 24
  • 41
-4
votes
2 answers

Is it possible to pass data between the UIViewController and UIView using swift?

Is it possible to pass data between the UIViewController and the UIView? if yes, how? For example when you press button1 the UIViewController says to the UIView that the person has pressed button1 and then the UIView draws a triangle. But if you…
A. Steiness
  • 423
  • 1
  • 4
  • 7
-4
votes
1 answer

C# & Java & C++ Message Passing Mechanism

What is C# & Java & C++ Message Passing Mechanism ?
1 2 3
27
28