A capability supported by some operating systems that allows one process to communicate with another process. The processes can be running on the same computer or on different computers connected through a network. It enables one application to control another application, and for several applications to share the same data without interfering with one another.
Questions tagged [interprocess]
412 questions
5
votes
1 answer
boost interprocess shared mutex and boost interprocess condition variable for shared mutex
Boost version - 1.47
I can not find boost::interprocess::interprocess_sharable_mutex, but it looks like it is forward declared. Is this really supported ?
I can see that boost::interprocess::interprocess_upgradable_mutex is forward declared and it…

arbitVelocity
- 51
- 2
5
votes
3 answers
What available message solutions are there for inter-process communication in ruby?
I have a rails app using delayed_job. I need my jobs to communicate with each other for things like "task 5 is done" or "this is the list of things that need to be processed for task 5".
Right now I have a special table just for this, and I always…

John Bachir
- 22,495
- 29
- 154
- 227
5
votes
1 answer
Is it possible to share a Cuda context between applications?
I'd like to pass a Cuda context between two independent Linux processes (using POSIX message queues, which I already have set up).
Using cuCtxPopCurrent() and cuCtxPushCurrent(), I can get the context pointer, but this pointer is referenced in the…

Chris Gregg
- 2,376
- 16
- 30
5
votes
1 answer
Boost named_semaphore examples?
I have not been able to find a good example that shows how to use boost::interprocess::named_semaphore (not even on the Boost web site).
I could see something about interprocess_semaphore, but they seem to be quite different and I do not know if…

Pietro
- 12,086
- 26
- 100
- 193
5
votes
2 answers
How do I send code ( a class in this case) to a server/program and receive output
Here is the situation:
I have a huge data set that I need quick access to. It's a financial data set so basically the way it's set up is that at each point in time, you have data for thousands of stocks. Now, loading this data into the program takes…

philmo
- 205
- 3
- 7
5
votes
0 answers
Inter-process communication between python and c++
I have a python script to process data (as part of a bigger framework), and a c++ script to gather data from an instrument. The c++ code continuously gathers then emits data via cout.
The programs need to talk to each other such:
Python -> Calls…

JohnJos
- 101
- 1
- 6
5
votes
1 answer
Interprocess communication via Pipes
It is known that during Interprocess Communication in Linux, the processes communicate with each other through a special file named as "Pipe".
It is also known that the the operations performed on that file is write by one process and read by one…

HarshitMadhav
- 4,769
- 6
- 36
- 45
5
votes
1 answer
What are the limits of using sockets for Inter-Process Communication?
I am creating a Firefox extension that allows using Standard ML (SML) as a client-side programming language in Firefox. The way it works is the following:
The extension launches a PolyML process (SML compiler with a top-level interactive shell).
A…

Karolis
- 2,899
- 2
- 23
- 38
5
votes
1 answer
c++ boost::interprocess simple application
I want to write a simple application with boost that passes string object to other process. It compiles well, but when i try to print out string from second process, following messages are put to console and second process…

avida
- 155
- 1
- 7
5
votes
1 answer
Java file locking way by multiple threads as well as multiple processes
I have more then 3 java processes accessing same file for read and write. Each process has multiple threads that read and write file very frequently (at the rate of 10 times or so in 1 second).
I am using java.nio.channels.FileLock for interprocess…

code_poetry
- 333
- 1
- 6
- 16
5
votes
2 answers
Interprocess Communication using Named Pipes in C# + PHP
Interprocess Communication using Named Pipes in C# is easy, but im not exactly sure how to do this in php, or if its even possible. so i have these questions:
Is named pipes possible in php?
Is it possible to have a C# named pipe client, connect to…

caesay
- 16,932
- 15
- 95
- 160
5
votes
4 answers
What interprocess locking calls should I monitor?
I'm monitoring a process with strace/ltrace in the hope to find and intercept a call that checks, and potentially activates some kind of globally shared lock.
While I've dealt with and read about several forms of interprocess locking on Linux…

Matt Joiner
- 112,946
- 110
- 377
- 526
5
votes
1 answer
How to interact with Running Python Script
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 access to the 'main variable' (defined in…

High schooler
- 1,682
- 3
- 30
- 46
4
votes
1 answer
Working with named pipes in Windows (C++/C#)
I have a C++ application that needs to send over images from a webcam in real-time to a C# application on the same PC. The C++ code cannot be called from the C# code so I need to implement communication via named pipes in order to send over the…

Jkh2
- 1,010
- 1
- 13
- 25
4
votes
1 answer
Socket communication between server app and Matlab client using Java
I have a written C++ server app that I would like to be able to control from Matlab. I have used a mex function for socket communication so far, but I would like to ditch the mex function and use inline Java directly in the m files. This will be a…

learnvst
- 15,455
- 16
- 74
- 121