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

boost interprocess error in boost interprocess containers

I am having a boost interprocess vector which contains string (boost::interprocess::basic_string) as values kept in shared memory, I am getting this error in long run include/boost/interprocess/mem_algo/rbtree_best_fit.hpp:1346: void…
0
votes
1 answer

Boost template error using inter-process map

EDIT: Although not strictly the the answer I was looking for, that is because I was asking the wrong question. I have marked this question as "answered" because it helped me see what I was doing wrong (when put back in context, the class structure…
std''OrgnlDave
  • 3,912
  • 1
  • 25
  • 34
0
votes
0 answers

Fastest and safest way to call functions in extern process

Describtion of the problem: we need to call a function in extern process as fast as possible. Boost interprocess shared memory is used for communication. The extern process is either mpi master or a single executable. The calculation time of the…
Alexandros
  • 21
  • 3
0
votes
2 answers

NamedPipe interprocess between c++ and Java application

I need start a named pipe server from c++ side and get a java application to read from the pipe. For the C++ side which creates the pipe, I followed the example from…
rzhomx
  • 85
  • 1
  • 12
0
votes
1 answer

Single windows service to provide access to cached data?

I need a solution where I have a single windows service providing access to cached data to various consumers: To an MVC web application, a .Net Assembly (COM interop) used within an classic ASP page, other windows services, a windows forms…
Mats
  • 14,902
  • 33
  • 78
  • 110
0
votes
1 answer

Calling a method from a different process C#

I want call a method accepting a string as parameter on a console application from a completely different application. Purpose of the call is simply write a line to the console window from a different application for posting some debug lines. What…
CptShaze
  • 21
  • 2
0
votes
1 answer

VB.Net WPF Single instance application, with new instance opening window of first

I want to be able to write a WPF application that only allows one instance of it, but if the user opens another instance, the first instance opens a window. So, I need Single instance only WPF application Inter-process communication between new…
lizclipse
  • 1
  • 2
0
votes
1 answer

How can you message a background process from mod_python?

We're running a Linux server running Apache2 with mod_python. One mod_python script inserts an entry in a database logging table. The logging table is large can be a point of disk-write contention, or it can be temporarily unavailable during…
Andomar
  • 232,371
  • 49
  • 380
  • 404
0
votes
1 answer

Processing multiple files using child processes and Boost

I'm new to inter-process communication and was looking for input and guidance about best way to achieve the following: I have a function that convert an image from one format to another and I want to do batch images conversions using multiple…
0
votes
1 answer

Unified communication

I am wondering how should I set up interprocess unified communication in better way than I do now. Client process sends a lot of messages of different sort to the server process. Messages like... I have done some work[what],I started at [time],…
0
votes
1 answer

Does a std::vector created with managed_shared_object require synchronization?

I succesfully compiled the Creating vectors in shared memory example from Boost. I'm uncertain if insertions into the constructed vector from multiple processes are safe (automatically synchronized intern). The documentation talks about…
Christian Ammer
  • 7,464
  • 6
  • 51
  • 108
0
votes
1 answer

Is it possible to pass a callable programmatically to a python instance (invoked with different permissions)

Assume I have python code def my_great_func(an_arg): a_file = open("/user/or/root/file", "w") a_file.write("bla") which I want to maintain without paying attention to invokation with and without priveleges. At the same time I don't want to…
Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
0
votes
1 answer

Is it safe to consume a boost::interprocess::message_queue multiple applications?

We are in the process of replacing an internal implementation of a message queue (due to limitations of the overall design), and I'd like to use boost::interprocess::message_queue as a nearly drop-in replacement. However, we have a specific…
Chad
  • 18,706
  • 4
  • 46
  • 63
0
votes
1 answer

Boost interprocess shared memory trouble

I'm having using using Boost's interprocess for shared memory access. What Im trying to do is store a map in shared memory and access if from across processes. Below is the part of the code where I try to do the same -- SharedMemoryManager.h…
ping
  • 1,229
  • 3
  • 21
  • 41
0
votes
1 answer

Getting column names from SysHeader32 control in another process

I am making a program (program1) that will read the name of the columns of a header (SysHeader32) that is located in a report-style List (SysListView32) in another program (program2). So basically I want my program to go into another program and…
computerWizard
  • 94
  • 3
  • 12