Skip to main content

All Questions

Tagged with
0 votes
0 answers
19 views

IPC using Message Queue random jumps in ids

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
1 vote
0 answers
143 views

How to access ipc on host from a docker container and keep internal ipc private?

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 ...
kzsnyk's user avatar
  • 2,211
0 votes
0 answers
29 views

IPC in node.js using RabbitMQ

I have multiple node.js modules running i want to send request to some particular module to trigger some of it's function and return back response. I want to use RabbitMQ for this, but not sure how to ...
Gaurav Verma's user avatar
3 votes
2 answers
93 views

Message Queues IPC does not work properly

this code implements a simple client-server communication system using message queues in C. local.h #include <stdio.h> #include <sys/types.h> #include "sys/ipc.h" #include <...
kaanyvz's user avatar
  • 223
1 vote
0 answers
39 views

How many senders and receivers of a notification are possible in a POSIX message queue

How many processes can access the same message queue simultaneously? Can a message queue have multiple processes registered for notifications/multiple processes sending notifications? I am new ...
Arnav Gupta's user avatar
1 vote
0 answers
36 views

How can I handle multiple (compound) commands in a command server program?

I am trying to implement a command server program. I can handle single commands right now. However, I cannot handle the compound commands. To explain I need to handle with user commands like "ls |...
Kerim Eren's user avatar
0 votes
1 answer
145 views

Using Queue created in shared memory for IPC between m4 and A53 of imx8mm

I want to create a IPC communication stack between the 2 processor cores of imx8mm viz A53 and M4 and I don't want to use interrupts. I have two types of messages to be shared between the cores, One ...
Sajid's user avatar
  • 131
1 vote
1 answer
146 views

Issue with fork() and message queue communication in C program

In my program, I'm attempting to fork a process when it receives the message "ON" from a message queue. Before introducing the fork, the messages work correctly: while (1) { ...
chiara_tummi's user avatar
1 vote
1 answer
940 views

Error implementing POSIX message queue "Function not implemented"

I have written this code to make a POSIX message queue, but I am receiving an error: "Function not implemented". This platform, QNX, is supposed to support message queues. Can someone ...
xkou's user avatar
  • 11
0 votes
1 answer
268 views

Is serialization of a c++ struct a must if you send or receive them in message queue?

In the legacy code, I found many struct are sent or received through system V message queue without any serialization or deserialization. The data member of a struct might be also a struct. The depth ...
Wqh's user avatar
  • 75
1 vote
0 answers
15 views

c++ boost message_queue, could 64bit binary send messages to 32bit binary [duplicate]

Hi I am trying to implement interprocess communication between 32/64 binaries by boost message_queue on linux According to 64bit and 32bit process intercommunication boost::message_queue, here is my ...
hczstev's user avatar
  • 83
0 votes
1 answer
57 views

Issues in Parent child communication

Parent has 'm' messages to send to 'n' child. In each iteration it sends one message to all its child. If all replies "Received" it sends the next message. Below is my code #include <sys/...
Hamsa's user avatar
  • 483
0 votes
0 answers
42 views

How to get random pauses between processes in C using a message queue?

I'm writing a C program that uses an interprocess message queue. I'm trying to reproduce an auction between a process J (judge) and n-child processes.The programm get from input a file txt and a ...
Valentino Fabris Valenti's user avatar
0 votes
0 answers
32 views

Why msgrcv does not save recieved values in structure?

I have two programs: server.c, and c1.c. Server should be running infinitely, and other programs, like c1.c, should send the number to the server, and get the square of that number as a server answer. ...
kims9's user avatar
  • 55
0 votes
0 answers
56 views

Can't I send 2 messages with different key with message queue with child-parent IPC in C?

Trying to send 2 different integers with 2 different keys in same function. but lower one doesn't actually work and only show -1 value. Child is sending 2 messages, and parent receives it. and parent'...
ULICK NORMAN OWEN's user avatar

15 30 50 per page
1
2 3 4 5
10