message-passing Questions
1
Solved
Assume two Python classes, the first of which (Class 1) contains a function (function_c1) that encompasses some statement (some_statement), which - if true - returns a customized exception (MyExcep...
Quiteris asked 18/2, 2016 at 14:29
3
Solved
I would like to implement communication between webworkers. I read the W3C documentation and I found MessageChannel is one of the ways to do it, but while reading MessageChannel I couldn't understa...
Carbohydrate asked 7/1, 2013 at 7:7
2
Solved
I am looking for a TPL data flow block solution which can hold more than a single item, which can link to multiple target blocks, but which has the ability to forward an item to only a specific tar...
Nkrumah asked 28/11, 2012 at 6:35
2
Solved
(Suppose all the matrices are stored in row-major order.) An example that illustrate the problem is to distribute a 10x10 matrix over a 3x3 grid, so that the size of the sub-matrices in each node l...
Peggie asked 29/3, 2015 at 4:7
5
What exactly is the difference between message passing concurrency schemes and lock-based concurrency schemes, in terms of performance? A thread that is waiting on a lock blocks, so other threads c...
Altissimo asked 21/8, 2011 at 19:27
1
Solved
I have the following method that is called from the background script of my Chrome Extension. The goal is to send a message to a specific tab and then call provided callback method with the result....
Mimesis asked 22/9, 2014 at 0:49
6
Solved
I've been looking into learning Erlang/OTP, and as a result, have been reading (okay, skimming) about the actor model.
From what I understand, the actor model is simply a set of functions (run wit...
Tetradymite asked 12/11, 2011 at 21:14
1
I,am developing an extension in which i have to extract data from linkedin profile page when user press button on popup. I,am passing message from the popup.js page to contentscript and in response...
Global asked 5/10, 2013 at 12:11
2
I saw here (Wikipedia article about IPC) that these are two separate things, but even reading each one's dedicated Wikipedia page I didn't understand what the difference is.
Can someone explain th...
Astro asked 22/8, 2013 at 7:47
2
Solved
What I understand is, that one master process sends a message to all other processes. All the other processes in return send a message to the master process. Would this be enough for a barrier to w...
Heyday asked 7/2, 2014 at 11:21
3
Solved
This is a design question;
Say I have a tree of actors which do a bunch of processing. The processing is kicked off by a client/connection actor (i.e. the tree is the server). Eventually the clie...
Lebeau asked 10/10, 2013 at 16:31
1
Solved
My overall goal was to take a screenshot via the background page using:
http://developer.chrome.com/extensions/tabs.html#method-captureVisibleTab
and pass it to the content script so I can use th...
Prophase asked 13/9, 2013 at 20:6
2
Solved
If I create an actor using context().actorOf() in Akka, I get back a valid ActorRef. However, if I do the same but create an ActorRef using actorFor and the path I know that the actor will appear a...
Gladden asked 11/5, 2012 at 9:44
2
Solved
I have a chrome extension, and from my background page I open a remote window:
chrome.windows.create({
type : 'popup',
url : "https://www.example.com/mypage.html"
}, function(newWindow) {
});...
Coranto asked 22/8, 2013 at 7:31
8
Solved
What is the best and easiest way to send a string from one instance of my program to another instance of my program? The receiving program has to execute a procedure, using the received string as a...
Infidelity asked 4/2, 2009 at 17:18
2
Solved
Regarding MPI_Isend, the MPI standard says "A nonblocking send call indicates that the system may start copying data out of the send buffer. The sender should not access any part of the send buffer...
Lovell asked 12/6, 2013 at 20:37
2
Solved
I am confused about the difference between sending items through Post() or SendAsync(). My understanding is that in all cases once an item reached the input buffer of a data block, control is retur...
Candescent asked 28/11, 2012 at 6:44
1
Solved
I have a bit of research related question.
Currently I have finished implementation of structure skeleton frame work based on MPI (specifically using openmpi 6.3). the frame work is supposed to be...
Gapin asked 21/11, 2012 at 21:14
5
Is there a difference between message-passing and method-invocation, or can they be considered equivalent? This is probably specific to the language; many languages don't support message-passing (t...
Nochur asked 25/8, 2010 at 1:40
1
Solved
when you send a message to the shell process, you can flush all messages out by calling: c:flush().
C:\Windows\System32>erl
Eshell V5.9 (abort with ^G)
1> self() ! josh.
josh
2> self() ! ...
Loar asked 16/8, 2012 at 14:39
3
Solved
I'm in OCaml.
I'm looking to simulate communicating nodes to look at how quickly messages propagate under different communication schemes etc.
The nodes can 1. send and 2. receive a fixed message...
Z asked 12/2, 2012 at 0:49
2
Solved
Is there any good and short explanation of how Actors works compared to threads?
Can't a thread be seen as an actor and send messages to other threads? I see some difference, but it's not that cle...
Harvestman asked 27/8, 2010 at 10:6
1
Solved
SEDA is essentially a set of independent "services" that communicate with each other via queues, which could further be abstracted as message passing.
The actor model is a set of independent func...
Hodges asked 14/11, 2011 at 21:16
4
Solved
In MPI, is MPI_Bcast purely a convenience function or is there an efficiency advantage to using it instead of just looping over all ranks and sending the same message to all of them?
Rationale: M...
Smarten asked 5/8, 2011 at 16:37
7
Solved
What languages are there with a message-passing syntax similar to Smalltalk's? Objective-C is the only one I'm familiar with. Specifically, I was wondering if any other language implementations exi...
Whitehead asked 26/5, 2011 at 21:39
© 2022 - 2024 — McMap. All rights reserved.