Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
56 views

I am trying to merge events. Here I should get the output both Thread 1 display and Thread 2 display. But, I am only getting Thread 1 output. I tried to do reverse by event_a = event_b also, in that ...
trushali-2005's user avatar
4 votes
1 answer
140 views

foobar is a Perl script that prints to both standard output and standard error. In a separate Perl script echo-stderr, I run foobar and capture its standard error using IPC::Open3's open3 function, ...
codeandfire's user avatar
-1 votes
1 answer
64 views

Problem I'm trying to send multiple files from the renderer process to the main process using Electron's IPC, but the file objects arrive empty. Renderer Process: if (files?.length > 1) { window....
user avatar
2 votes
0 answers
121 views

I am running simple Ping/Pong between two processes A, B with shared memory: shm_A and shm_B are in separate cache lines. Allocated with separate calls to shm_open, so probably in different pages, ...
Samuel Hapak's user avatar
  • 7,284
-5 votes
1 answer
118 views

File, one writer-process, lot of reader-process Hello. Could you please clarify if I understand correctly that this code doesn't guarantee that TestValue will always be read from the file? The goal ...
Neanderthal289's user avatar
1 vote
0 answers
80 views

I'm attempting to receive kernel messages in a userspace program via a custom Netlink protocol. For example, obtain the plug-in and pull-out status of the DP interface and the information of the ...
fandc247's user avatar
3 votes
2 answers
209 views

My initiative here is to make a detection mechanism on process status by a "file lock". Say I am developing a program in user mode. It will be inappropriate for some sources to be shared ...
PkDrew's user avatar
  • 2,311
-2 votes
1 answer
82 views

I've searched around and couldn't quite find and answer to this. I'm trying to get C to open a bash program called L. The I want to be able to run the program using something close to system or popen. ...
ClemsonCoder's user avatar
2 votes
2 answers
246 views

Within a Shiny app, a task that is triggered by a button is taking quite a long time to complete (synchronous sequential code). That's why I want to split this task over several (logical) cores of my ...
Olivier7121's user avatar
0 votes
1 answer
52 views

I'm developing a webapp on Liferay with JSF Primefaces. I have Portlet 1 and Portlet 2 on the same page. I wish to update a component on the UI in the Portlet 1 after a button is clicked in Portlet 2. ...
dorcsi's user avatar
  • 327
1 vote
1 answer
85 views

Communication Between Two Android Apps Using ContentProvider Not Working Problem Statement I'm trying to share data between two separate Android applications using a ContentProvider. App A provides ...
danimadmolil's user avatar
0 votes
0 answers
47 views

I am trying to building an server that communicates with the client using socketio protocol, Now the server starts multiple application as a sub processes, the server communicates with this ...
Souvik De's user avatar
3 votes
2 answers
225 views

I am porting a console application that was written in C targeting Linux. I want to make the code as portable as possible, so that it can also be used on Windows and other OSs. So far, I was able to ...
Dominik Kaszewski's user avatar
2 votes
1 answer
101 views

I wanted to launch an executable from a parent process. Wait until that process is finished, then read back what it wrote into stdout. It turns out you can't wait for the program to finish and then ...
Zebrafish's user avatar
  • 16.9k
4 votes
1 answer
164 views

I am using System V shared memory in my program. The writer process successfully creates the shared memory using shmget(). When the writer process ends, I notice that the shared memory segment ...
StaY_Hungry's user avatar
4 votes
1 answer
68 views

Sorry for the basic question, but I can't find a straight answer that I can understand on the documentation or with generative AI. When I do a write call over a pipe between a parent and child process,...
Sterling Mcleod's user avatar
3 votes
1 answer
82 views

I am trying to understand the signals in POSIX/Linux. I wrote this test.c program: #include <stdio.h> #include <stdlib.h> #include <signal.h> #include <unistd.h> void handler(...
nowox's user avatar
  • 29.8k
2 votes
1 answer
134 views

I have a binded C++ python library with a class that can only be initialized once per process (unfurtonately, due to legacy C++ code). To overcome this, I created a subprocess wrapper around my class ...
lielb's user avatar
  • 41
2 votes
0 answers
144 views

I'm trying to do an exercise from Advanced Programming in the UNIX Environment where I need to: Open a file that contains a counter. Fork a process. Have the parent and child increment the counter ...
SekstusEmpiryk's user avatar
2 votes
1 answer
75 views

I have the following NamedPipe server (running in .NET Framework): private void PipeListenerThread() { PipeSecurity pipeSecurity = new PipeSecurity(); pipeSecurity.AddAccessRule(new ...
RoadieRich's user avatar
  • 6,689
2 votes
3 answers
101 views

I'm trying to create a MemoryMappedFile with 2 view accessors, each accessing different regions of this shared memory. This is a simplified version of what I'm doing: const int block1Size = 20; const ...
dcidral's user avatar
  • 267
0 votes
1 answer
115 views

I am investigating how many times a copy happens in an IPC request. This helps me decide the best solution for my mobile device. For example, shared memory is zero-copy, since processes can directly ...
Yubikiri773's user avatar
2 votes
1 answer
160 views

I'm trying to implement interoperability between a host process written in C++ and a child process which is a Node.js instance on Windows. I do not have control on the child process's IPC API, I have ...
Jean-Michaël Celerier's user avatar
1 vote
0 answers
96 views

I'm working on a syntax highlighter for the zsh ZLI, which I'm writing in rust. Essentially it consumes text from zsh, and returns text which represents the highlighted syntax. Perhaps this would be ...
user26218552's user avatar
0 votes
1 answer
71 views

Basically - I want to put a singular int, and an array of the following structures: struct My_structure { char my_text[200]; char my_name[20]; int my_number; }; Into a shared memory ...
Firana M's user avatar
0 votes
0 answers
59 views

I have a process which will run a subprocess. Both will talk to a device through a serial port. The subprocess will be executing the custom code of a programmer using my library. Sometimes the ...
Radar32's user avatar
  • 35
0 votes
1 answer
101 views

Is there any way to use the .NET Channel API across processes? I was thinking about the synchronization primitives that can receive a name and therefore can be accessed by any process in the same ...
Ricardo Peres's user avatar
0 votes
1 answer
91 views

I tried to write a simple reader and writer program. reader: #include <fcntl.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <stdio.h> #...
user3318590's user avatar
2 votes
0 answers
88 views

I have a server and a client. The server is responsible for forking child processes and interacting with them to get log outputs to send to the client. It also receives input from the client and sends ...
Jarviswu's user avatar
0 votes
0 answers
42 views

[C language]\ Hello there! I'm trying to do a simple IPC between two files ".c" but I'm facing some unexpected output. I'm compiling the server file, nothing wrong, the PID is clearly ...
alender's user avatar
  • 13
1 vote
0 answers
92 views

My end-goal is to: get PNG data from the clipboard on MacOS do stuff with it (typically with ImageMagick) put it back onto the clipboard and I'm trying to do that with IPC::Run in perl It looks like ...
simone's user avatar
  • 5,282
0 votes
1 answer
114 views

Trying to RPC to another node from a script, everything works when using "shortnames" but fails when using "longnames". Where my local machine name is "Pandora", and ...
sthames42's user avatar
  • 1,067
1 vote
2 answers
296 views

According to the manual, sem_open(name, O_CREAT, mode, 1) returns success (the semaphore address) if the semaphore exists. But the caller can't know whether: the newly created semaphore is now at 1 ...
patraulea's user avatar
  • 1,014
0 votes
1 answer
74 views

I'm trying to find out what C# method, or attribute on some known variable, I can use to determine information about the client. The communication is happening fine. I'm using NetTCPBinding and have ...
Brandon Lewallen's user avatar
1 vote
0 answers
176 views

I would like to launch a process, provide some initial input to it, and then have it "take over" stdin and stdout as though I had execve'd it. While the question is language-independent, ...
Kaia's user avatar
  • 939
1 vote
0 answers
95 views

I've seen similar questions addressing the issue of creating a NamedPipeServerStream with security configurations throwing UnauthorizedAccessException. The problem lies in creating multiple instances ...
javery's user avatar
  • 41
0 votes
1 answer
59 views

I have a python script which reads and input when provided and does something with the input (see process_input below): import sys def process_input(input_data): # logic to process the input data ...
teoML's user avatar
  • 846
3 votes
1 answer
102 views

I am new to corotine and asio. I am working on a local process management tool where a client is responsible for launching a program. This client sends commands to a backend daemon that manages the ...
Jarviswu's user avatar
1 vote
0 answers
108 views

I want to exchange data between processes. I choose shared memory, the reason is i think it's fastest IPC method. But the following code tells different story. string_worker.hpp: this is a base class, ...
kevin h's user avatar
  • 143
0 votes
1 answer
83 views

I have written an AAR in Kotlin, which has a function that: takes a list of BLE devices also takes a list of messages (byte arrays) and tries to send all the messages to all the devices - at the end ...
Kibi's user avatar
  • 2,150
1 vote
0 answers
91 views

Got this standard library I'm developing for standardized inter-process comms using memory mapped files (mmfs). It appears to properly create the mmf on the server side, but the client doesn't seem to ...
Account of Working's user avatar
1 vote
1 answer
115 views

I'm developing a desktop application using Electron and React, and I'm encountering an issue where performing write operations to a SQLite database via IPC causes a refresh-like effect in the UI. This ...
Saqib Ali's user avatar
0 votes
1 answer
100 views

I'm using the pathos framework to do tasks concurrently, in different processes. Under the hood, this is done with ppft, which is part of pathos. My current approach uses a pathos.multiprocessing....
onetyone's user avatar
  • 572
0 votes
0 answers
27 views

I recently came across this topic while going through Advanced Programming in Unix Environment about IPC using message queues. I implemented a simple program that creates and deletes queues 5 times in ...
Vibhatsu's user avatar
0 votes
1 answer
210 views

I've started playing with gRPC, having 3 projects: WPF as a Client, Class Library as a business logic, GRPC Server as a Windows Service. This is what I see often: Status(StatusCode="...
kalview's user avatar
  • 350
1 vote
2 answers
440 views

I have the following program to exercise using forks and shared memory. #include <stdlib.h> #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <sys/...
Addem's user avatar
  • 4,023
0 votes
2 answers
63 views

I recently found out that RPC and REST are just API constructs and not different protocols through which two services communicate and send data to each other over the network. The underlying protocol ...
Ritvik Joshi's user avatar
1 vote
0 answers
282 views

An application let's say A (which is made of several processes) uses a lot of hard coded filenames for message queues, shared memory and semaphores. The application is proprietary, should be run as ...
vazlsky's user avatar
  • 2,386
0 votes
0 answers
120 views

I'm struggling with the project that are copying files from the network(CIFS share). IPC which I'm using is Named Net Pipes with Duplex Channel and for GUI I'm using WPF. The application is ...
kalview's user avatar
  • 350
0 votes
0 answers
107 views

The Electron WebView supports a executeJavascript() method which supposedly executes the provided snippet within the render process of the guest content. However, the example provided below fails with ...
J-Cake's user avatar
  • 1,740

1
2 3 4 5
97