Closed Thread
Results 1 to 2 of 2

Thread: Multiple processes or single process?

  1. #1
    sharat is offline Newbie
    Join Date
    Jan 2010
    Posts
    1
    Rep Power
    0

    Smile Multiple processes or single process?

    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. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,478
    Blog Entries
    75
    Rep Power
    143

    Re: Multiple processes or single process?

    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

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 02-07-2011, 11:29 AM
  2. Calling multiple functions in a single line
    By fazlerocks in forum C and C++
    Replies: 4
    Last Post: 01-17-2011, 06:03 PM
  3. Replies: 2
    Last Post: 10-28-2010, 03:15 PM
  4. Running multiple exe's in a single window
    By brandon21486 in forum C# Programming
    Replies: 2
    Last Post: 02-10-2010, 10:20 AM
  5. Problem with multiple processes accessing a file
    By ibad in forum C# Programming
    Replies: 14
    Last Post: 12-08-2009, 05:43 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts