interprocess Questions
2
I need to implement an inter-process communication between C# applications. I decided to use named pipes and wrote the following code:
Server
while (true)
{
using (var server = new NamedPipeServ...
Hendeca asked 24/8, 2015 at 8:47
8
We have few node.js processes that should be able to pass messages,
What's the most efficient way doing that?
How about using node_redis pub/sub
EDIT: the processes might run on different machine...
Mangum asked 24/6, 2011 at 5:51
7
Solved
I want the following
During startup, the master process loads a large table from file and saves it into a shared variable. The table has 9 columns and 12 million rows, 432MB in size.
The worker p...
Boggart asked 9/6, 2012 at 23:2
9
I have two C# applications and I want one of them send two integers to the other one (this doesn't have to be fast since it's invoked only once every few seconds).
What's the easiest way to ...
Assemblage asked 26/11, 2009 at 9:10
3
Solved
I have a class which can be created by multiple threads. But at one function the code needs to be protected, so I decided to use the boost interprocess mutex. Every class creates or opens the same ...
Mak asked 26/9, 2011 at 12:43
1
I am trying to stream video and audio data into two separate named pipes on Windows.
ffmpeg.exe -f dshow -i video="My camera name":audio="My microphone name" -map 0:1 -ac 1 -f f32le \\.\pipe\audio...
Frasch asked 31/5, 2016 at 14:34
1
Right now I am trying to create a process, where I want to insert data in table and some observers will get notified and able to edit the data upon their interest. Below is a rough idea on how to d...
Kipkipling asked 29/4, 2019 at 8:51
7
Solved
I'm trying to communicate between WCF hosted in Windows Service and my service GUI. The problem is when I'm trying to execute OperationContract method I'm getting
"The ChannelDispatcher at
'net...
Aerophyte asked 10/8, 2009 at 1:23
4
Solved
I am using a boost::interpocess::scoped_lock using a named_mutex and a timeout; I am running in Linux OS.
During one of my tests I had a crash: since then, everytime I try to run again the applica...
Sadie asked 18/10, 2011 at 14:0
3
Solved
Before I ask this question I would like to make it clear that I know there are libraries and techniques for Inter process communcation. This though, is a learning question about COM.
I also do kno...
Physicalism asked 24/3, 2011 at 21:27
2
There is a Unix function called flock() that processes can use to obtain either shared ("read") access or exclusive ("write") access to a resource. The problem is that it starves those processes th...
Pyknic asked 23/12, 2014 at 17:56
2
Currently I'm porting a software from Windows to Mac OS X in C++.
In Windows, there's an abandoned state in global named mutex which means that current owner process of the mutex is gone wit...
Pigeontoed asked 28/5, 2014 at 19:58
1
Solved
Can you use C# to call a function inside of another running process that is written in C/C++?
I know you can do this using C++ by injecting a DLL that starts a remote thread, listens for associate...
Sayre asked 10/3, 2016 at 8:11
2
Solved
In a recent project, I want to debug my program in production use state. The production environment is very complicated so I want to debug the program whenever I find a problem.
This is what I wan...
Swordtail asked 23/8, 2015 at 2:39
5
Solved
I have a circular buffer which is backed with file mapped memory (the buffer is in the size range of 8GB-512GB).
I am writing to (8 instances of) this memory in a sequential manner from the beginn...
Fabio asked 2/9, 2014 at 19:59
5
I have 2 applications.
VB application is written in .NET 3.5. It is pretty big application. I can't rewrite this to C++ for few reasons. Im not sure if that matters, but it is x86 application.
C+...
Stound asked 16/7, 2015 at 8:51
4
Solved
I would like to use shared memory between several processes, and would like to be able to keep using raw pointers (and stl containers).
For this purpose, I am using shared memory mapped at a fixe...
Nadenenader asked 9/5, 2011 at 16:10
3
In some environments such as Java, it's natural to use TCP/IP sockets to pass messages between processes on the same host using the 'localhost' address (127.0.0.1 in IPv4, or ::1 in IPv6). (Because...
Sitology asked 4/4, 2011 at 10:44
1
Let's say I have a large data array updated 1000+ times per second.
Another application wants to access and read the array in a short interval. Both applications are on the same machine.
I have tr...
Ocampo asked 5/2, 2015 at 2:11
3
I'd like to use boost::interprocess::file_lock to ensure that files that are written to a directory x by process P1 are not read by process P2 until they are complete. To do this, I'd like to have ...
Greaten asked 15/11, 2012 at 16:48
4
Solved
I'm writing software for a new hardware device which I want any kind of new third-party application to be able to access if they want to.
The software will be a native process (C++) that should be...
Handicap asked 24/8, 2010 at 15:56
1
Solved
While my main script is running
class Blah():
update=0
def testthings(function):
return function(9)
main = Blah()
while True:
main.update+=1
How can I run an independent script to have acc...
Nb asked 26/10, 2013 at 16:1
5
We have been profiling and profiling our application to get reduce latency as much as possible. Our application consists of 3 separate Java processes, all running on the same server, which are pass...
Counterblow asked 9/5, 2011 at 22:47
3
Solved
My team is working on an Android project which consists of several Android applications which exchange data (on the same phone). The idea is to have several applications which are collecting some d...
Heckman asked 16/2, 2011 at 11:0
2
Solved
I know this seems to be a trivial question but I could not find any concrete answer anywhere on the internet. I saw this very similar question on stackoverflow: How to start Unity application from ...
Transitory asked 9/4, 2012 at 5:34
1 Next >
© 2022 - 2024 — McMap. All rights reserved.