Questions tagged [interprocess]

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.

412 questions
0
votes
1 answer

Using Mutexes for interprocess synchronisation - getting AME

I don't understand this behavior: static Mutex Mut; static void Main(string[] args) { try { Mut = System.Threading.Mutex.OpenExisting("testmut"); } catch { Mut = new…
user4520
  • 3,401
  • 1
  • 27
  • 50
0
votes
1 answer

How to use COPYDATASTRUCT with a asynchronous callback

I'm using COPYDATASTRUCT with SendMessage() to pass data between 2 processes, but i need to it in asynchronous manner. I tried using SendMessageCallback(), but it seems that it does not work with COPYDATASTRUCT. What would be the best way to achieve…
nimo
  • 31
  • 1
  • 1
  • 5
0
votes
2 answers

asynchronous c++ inter-process control

I'm writing this with c++ on Ubuntu 12.04 LTS and i am explicitly not using any BOOST libraries. What I want to do is have a parent process and two or more children run simultaneously. The parent process acts like an event listener and task…
Aage Torleif
  • 1,907
  • 1
  • 20
  • 37
0
votes
2 answers

local api's bypassing http, in .net and IIS

I have an in-memory list of objects (really just strings) I utilize in a .net web application. It is about 10 megs worth of data, so I just keep it in ram and don't mess with a database etc. However, now I need multiple web apps to access this same…
Brady Moritz
  • 8,624
  • 8
  • 66
  • 100
0
votes
3 answers

Avoid Application[process] switching for shared resource in linux

Shared resource is used in two application process A and in process B. To avoid race condition, decided that when executing portion of code dealing with shared resource disable context switching and again enable process switching after exiting…
0
votes
1 answer

.Net to Java to .Net Interprocess Communication using Java

I create .Net client (executable) which uses group of local services. These services are 6 local services (out of process logger service, system diagnostic service, UI identification service etc.). This pattern is mandatory. The idea is to create…
Roi Shabtai
  • 2,981
  • 2
  • 31
  • 47
0
votes
1 answer

text exchange between two processes on a box using Memory Mapped File

Requirement is to be able to achieve 'chat' like communication between two console apps on the same windows box. I implemented this using named pipes, by implementing both a sender and receiver functionality in each app. I want to try the same…
Brian
  • 1,337
  • 5
  • 17
  • 34
0
votes
1 answer

process synchronization for MailSlot

I am trying to make interprocess communication between two processes on windows, from an high level of perspective I want to synchronize these two processes, let say there are two processes, process 1 process 2, Process 1 is an 32 bit application…
otto
  • 343
  • 3
  • 17
0
votes
2 answers

php to python inter-process communication with large data by json

my php code: test.py code: import sys import json try: print json.loads(sys.argv[1]) except: print…
RatDon
  • 3,403
  • 8
  • 43
  • 85
0
votes
0 answers

Boost Combination with networking and shared memory for Inter Process Communication

This seems like a trivial question for me, but I could not find the answer for it.. I am trying to think of a module of master and multiple slaves (Sends all of them data and receives from all of them results), and I've been looking to some IPC…
Alon
  • 1,776
  • 13
  • 31
0
votes
1 answer

Why Does Threading Break Named Pipes During Inter-Processing Communications?

I am trying to write a sample C# program for named pipe streaming. I create two executable files, one for server and another for client. Please check my code below. These two applications sometimes work correctly and sometimes client application…
Yasser Mohseni
  • 453
  • 2
  • 7
  • 17
0
votes
1 answer

C# mono inter process, inter application cross platform messaging implementation. (How to)

I am developing applications and c#, I at the moment, I work on projects for Windows Platform only. However, I am planning to move into using C# mono to make my programs be able to work with linux, mac-os and windows. One of the feature I am…
0
votes
1 answer

high speed interprocess associative array

Is there library usable from c++ for sharing fairly simple data (integers,floating point numbers, strings) between cooperative processes? Must be : high-speed (SQL-based methods too slow due to parsing) able to get,set,update,delete both fixed and…
Mark Borgerding
  • 8,117
  • 4
  • 30
  • 51
0
votes
2 answers

Python inter-process Queue overflow

I have a producer set-up with N consumers. The producer listens on a socket which receives a high volume of TCP messages (10,000 per min), reads this data and puts it into the Queue for the workers. The workers I have set-up to read from the Queue…
Martin Konecny
  • 57,827
  • 19
  • 139
  • 159
0
votes
2 answers

Provide feedback from Python script to PHP

Suppose a python script that performs a large number of operations, and outputs to the user a progress report while it is running: $ script.py Doing 1 of 100 operations... Operation 1 succeeded with output "023948" Doing 2 of 100…
dotancohen
  • 30,064
  • 36
  • 138
  • 197