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
2
votes
1 answer
Best Alternative for OPC-UA in non industrial environments?
I'm managing a rather widely distributed software application in a semi industrial environment. The software at its heart is based on SOA and employs OPC-UA to make communications between important processes (on local or LAN-based machines)…

Sina Bizbone
- 79
- 1
- 1
- 12
2
votes
4 answers
Do the boost containers for shared memory implement locking?
I am trying to use the c++ boost library to create a hashmap in a (boost) shared memory location. So far so good, this is all nicely documented in the boost documentation. However, I want to have a mutex lock on the map I create but I cannot…

Tom
- 23
- 4
2
votes
3 answers
C#-C Interprocess communication
Okay, so I have a program written in c# that starts up a process running another program, this one written in C. Now I already worked out redirecting the stdout from the C program and picking it up on the C# side, and it works great. But I need a…

Neil Turley
- 21
- 2
2
votes
1 answer
Can I rely on a temporary file to remain unchanged after I close it?
I'm using a temporary file to exchange data between two processes:
I create a temporary file and write some data into it
I start a subprocess that reads and modifies the file
I read the result from the file
For demonstration purposes, here's a…

Aran-Fey
- 39,665
- 11
- 104
- 149
2
votes
1 answer
Boost Interprocess share vector across memory with mutex and condition variable
I found this code online (http://prakharprakhar.blogspot.co.uk/2009/12/boost-shared-memory-vector.html), detailing how to share a vector via Boost Interprocess:
Writing to vector in shared memory
using namespace boost::interprocess;
using…

user997112
- 29,025
- 43
- 182
- 361
2
votes
1 answer
HP QTP (VbScript): work with Java-objects (like DotNetFactory for .NET classes)
is there any way to work with Java classes in the same of similar way (create, call methods)?
QTP provide such support for .NET classes via dotNetFactory. Is there anything like that for Java?
(Our backend app has JAva API and we want to write…

vmg
- 9,920
- 13
- 61
- 90
2
votes
2 answers
Is it possible to input an address to a pointer from stdin?
Not that long ago, I had an idea for some simple inter-process comunication: one process outputs an address to a pointer, I copy that to the input of another process, and that changes the original variable.
I implemented it like this:
#include…

Mark Gardner
- 442
- 1
- 6
- 18
2
votes
2 answers
boost named_mutex private member access error
I am suffering from the problem that I need a named_mutex for a managed_shared_memory member within a class and get a "cannot access private member declared in class boost::interprocess::named_mutex" error. However, I both derived my class from…

gilgamash
- 862
- 10
- 31
2
votes
1 answer
Removing RTTI from Boost::Interprocess
I'm trying to use Boost::Interprocess for shared memory. However, my program also requires the use of LLVM, and LLVM requires fno-rtti, while Boost::Interprocess requires RTTI. Specifically, I tried the first example here, and I got compilation…

Mawi
- 21
- 2
2
votes
0 answers
Interprocess communication between Inno setups via Pipe cannot create Pipe
I would like to separate a huge Inno setup into smaller packages which give their progress and state to the "master" setup. The sub-setups shall be called silent/hidden so that only one window is in front and integrates the progress of all others…

HelicopterHat
- 21
- 2
2
votes
1 answer
Thread stuck in mutex wait while searching in Boost Interprocess managed_shared_memory
We are using boost::interprocess::managed_shared_memory. Recently while testing we found that after process crash threads searching in shared memory got stuck in manage_shared_memory APIs.
My initial observation is that m_header recursive lock…

Aditya
- 21
- 2
2
votes
0 answers
How do R packages like RJags and RStan handle interprocess communication?
How do R packages that communicate with external programs like stan and jags handle the interprocess communication? I can imagine it's feasible with a system() call and/or input/output to files, but I'm guessing they do it in a more elegant way.

daj
- 6,962
- 9
- 45
- 79
2
votes
2 answers
Lock a file using windows c++ LockFIle() then get a stream from it?
I have locked a file using LockFileEx, but I am not able to open a stream from it.
HANDLE indexHandle = CreateFile (indexFileName, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, 0,
OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0);
bool indexLock =…

saurabh daga
- 205
- 1
- 2
- 11
2
votes
3 answers
Controlling Firefox from C++
I am running Mozilla Firefox on Windows 7 and would like to be able to send simple commands (New Tab, Minimize, Close Tab) to it from a C++ program.
The usual question of inter-process communication, when both processes are a part of the same user…

Vorac
- 8,726
- 11
- 58
- 101
2
votes
2 answers
Inter-process communication between Python and Scala programs
I have a website that is backed by CherryPy web framework and a scala program that runs on a same machine and contains an actor system inside. OS is Ubuntu 12.04.
What I want is this: once user fills out and submits a form I send the data from…

src091
- 2,807
- 7
- 44
- 74