ipc Questions

2

Solved

When I echo into files at some arbitrary locations in Linux, i.e. echo > /tmp/file, some running processes respond. Is this IPC via file pipe? Does this mean a running process always open the ...
Vitric asked 16/6, 2012 at 9:54

3

Solved

I am doing experiments with IPC, especially with Mutex, Semaphore and Spin Lock. What I learnt is Mutex is used for Asynchronous Locking (with sleeping (as per theories I read on NET)) Mechanism, S...
Tartary asked 7/5, 2014 at 7:8

1

Solved

Python's multiprocessing.Queuefails intermittently, and I don't know why. Is this a bug in Python or my script? Minimal failing script import multiprocessing import time import logging import mul...
Conchaconchie asked 3/8, 2018 at 21:50

5

Solved

I've read the documentation about Bound Services, where it is shown that you can easily communicate through Messages from an Activity to a remote (i.e. not in the same context) Service but is there...
Arbitrator asked 11/5, 2012 at 7:56

1

In my App I have two windows: mainWindow and actionWindow. On my mainWindow I use the ipcRenderer.on listener to receive as message from the main process when the actionWindow is closed. The messag...
Sakai asked 8/2, 2022 at 14:1

2

It seems that NamedPipeServerStream is not working on Windows 10. I'm using the following code to create a named pipe from my C# application. This code has been copied directly from the MSDN exam...
Thach asked 4/9, 2018 at 19:51

7

Solved

Will any one please tell me what are all the IPC mechanisms that are present in Android. To my knowledge are: Intents Binders
Primacy asked 21/4, 2011 at 6:22

4

Solved

I have an problem with PM2 in NodeJS. Without PM2, we always have some lines of code like below to configure master process if(cluster.isMaster){ //master process configuration } else { //worker...
Nativeborn asked 24/12, 2015 at 3:41

5

Solved

I've been playing with message queues (System V, but POSIX should be ok too) in Linux recently and they seem perfect for my application, but after reading The Art of Unix Programming I'm not sure i...
Aksel asked 8/6, 2009 at 22:26

7

Solved

Say I have an .exe, lets say sum.exe. Now say the code for sum.exe is void main () { int a,b; scanf ("%d%d", &a, &b); printf ("%d", a+b); } I wanted to know how I co...
Pharyngology asked 20/1, 2014 at 10:12

4

Solved

The topic basically tells what I want to to. I read the documentation, which tells me how to handle signals but not how I can do signalling by myself. Thanks!
Tonitonia asked 22/1, 2013 at 11:41

3

Solved

I'm getting an TransactionTooLargeException when sending messages between two Android processes running from a single APK. Each message only contains small amounts of data, much smaller than the 1 ...
Hydroplane asked 19/7, 2018 at 14:25

2

Solved

I wrote a program using the module multiprocessing which globally executes as follows: both a simulation and an ui processes are started. the simulation process feeds a queue with new simulation ...
Athey asked 20/8, 2016 at 14:0

3

I'm currently studying how binders work in general. By looking at the following projects : https://github.com/qianjigui/android_system_service_example https://github.com/cloudchou/NativeBinderJava...
Avaricious asked 2/2, 2017 at 12:57

2

I have a process which exposes a method to DBus with one of the arguments taking the following type signature a{sv}: Dict of {String, Variant} The libDBus documentation for dbus_message_appen...
Lashaunda asked 30/4, 2015 at 16:49

3

Solved

Q1: What exactly is the difference between using ZeroMQ to send messages to child processes, as compared to the default inter process communication explained here? Q2: For direct process to child ...
Smaragdite asked 20/9, 2015 at 16:45

1

I want to share data between processes using shared memory technique. I can do that using boost libraries on Windows, and on WSL(Windows Subsystem for Linux) seperately. Both work great. My job is ...
Piscine asked 15/12, 2020 at 19:43

1

I am using boost's ipc library for saving complex object, include images, in shared memory, used by several processes. Let's call this object MyImage. The shared memory is a circular buffer saving ...
Infeudation asked 14/6, 2021 at 8:17

1

I'm building a sandboxed macOS app with Swift, which contains a child app inside. What I want to implement is: Parent can launch multiple child apps Parent send different content to each child app...
Peterec asked 26/5, 2021 at 1:17

2

Solved

Is it possible for two separate Docker containers to communicate over a ZMQ IPC socket? If so, how can this be achieved? For example: Docker Container #1 executes an application that creates a ...
Almucantar asked 17/5, 2017 at 15:26

2

I'm making small Android applications which communicate with each other using Binder. As I know, Android Binder has a maximum transaction size (1MB). For example, TransactionTooLargeException is t...
Marianmariana asked 4/7, 2016 at 1:19

1

I'm using ipcRenderer to retrieve the folder path from a browser dialog in my main.js. But for some reason it does not update my the text string on my view. I know in order for this to work I nee...
Darryldarryn asked 4/5, 2017 at 19:34

3

Use case I've got an existing project developed in C# using WinForms with custom controls for the GUI. We are amazed by the approach to write GUIs using HTML/CSS/JS and we are looking for the best...
Evasive asked 8/8, 2017 at 23:16

7

Solved

I need something similar to ReadToEnd or ReadAllBytes to read all of the contents of the MemoryMappedFile using the MappedViewAccessor if I don't know the size of it, how can I do it? I have searc...
Discordancy asked 19/2, 2013 at 8:56

1

Solved

The whole error message is the following: Error: Error invoking remote method 'MY-IPC-CHANNEL': Error: An object could not be cloned. at EventEmitter.o.invoke (electron/js2c/renderer_init.js:71) ...
Fulvous asked 28/1, 2021 at 8:11

© 2022 - 2024 — McMap. All rights reserved.