Jump to content

Multiple processes or single process?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
sharat

sharat

    Newbie

  • Members
  • Pip
  • 1 posts
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

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
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.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog