+ Reply to Thread
Results 1 to 2 of 2

Thread: Multiple processes or single process?

  1. #1
    Newbie sharat is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    1

    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. #2
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,697
    Blog Entries
    57

    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.
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Problem with multiple processes accessing a file
    By ibad in forum C# Programming
    Replies: 14
    Last Post: 12-08-2009, 07:43 AM
  2. windows process and thread wrapping
    By julmuri in forum C and C++
    Replies: 1
    Last Post: 11-07-2009, 02:05 PM
  3. Process Resource Monitor for your web server!
    By phpforfun in forum Linux Tutorials, Guides and Tips
    Replies: 1
    Last Post: 01-09-2009, 10:37 AM
  4. Replies: 5
    Last Post: 10-29-2008, 03:05 PM
  5. Replies: 0
    Last Post: 07-21-2008, 06:41 AM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

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