Hello all,
I would like to know what all are the parameters which decides we should use a single process for an application or multiple processes?
In case of my application I have multiple inputs being received at different frequency from serial ports.
Independent inputs triggers independent functions but the independent different functions leads to only 2 outcomes/ outputs.
Can anyone help me on this, using processes with IPC (as i need to share the information) or single process approach with handling interrupts in ISR, or an application with single process and multiple threads with signals will be helpful??
Thanks in anticipation!!!
Sharat
Multiple processes or single process?
Started by sharat, Jan 11 2010 09:27 PM
1 reply to this topic
#1
Posted 11 January 2010 - 09:27 PM
|
|
|
#2
Posted 12 January 2010 - 09:01 AM
Listing all the parameters would be almost impossible. You're better off to think about whether the frequency of the inputs, the potential for the inputs to interfere with each other, etc, etc, etc. Generally, I avoid multiple processes when possible.


Sign In
Create Account

Back to top









