I have two processes A and B. A and B needs to communicate (Bi-directional) sometimes for passing signals, messages etc.
I have done some basic research about IPC's available in Linux like semaphore, message queues, dbus etc.
Now I am in confusion in deciding which one to use, Can anyone tell me which IPC is better to use for my application ?
Thanks in advance
Edited: Elaborating the Application. ( It is an Embedded Application )
Process A will be monitoring Temperature, speed calculation etc. Process B will be driving the motor, reading the sensor values (Numeric) etc. Sometimes I need to send the signal to process B telling Max temperature is reached, so stop driving motor. Sometimes needs to send the data read from sensor in Process A to Process B. Like this the Numeric data needs to be passed across process. And I am doing this in ARM Architecture.