Shared memory & Semaphores

Discussion in 'C Programming' started by Mehmet Turker, Oct 17, 2003.

  1. Hi;
    In a research project, I want to use shared memory with semaphores.
    First I have to create an environment for interprocess messaging. I'm
    thinking of having a main process which creates a big shared memory
    and manage all messages which are sent by objects inside the
    environment. Is this method effective for a high loaded messaging
    area? I heard about using ports can cause loss of data.
    And, is it ok to have a main process which will get all the messages
    and distribute them to target processes?

    Mehmet
     
    Mehmet Turker, Oct 17, 2003
    #1
    1. Advertising

  2. (Mehmet Turker) wrote:

    >Hi;
    >In a research project, I want to use shared memory with semaphores.
    >First I have to create an environment for interprocess messaging. I'm
    >thinking of having a main process which creates a big shared memory
    >and manage all messages which are sent by objects inside the
    >environment. Is this method effective for a high loaded messaging
    >area? I heard about using ports can cause loss of data.
    >And, is it ok to have a main process which will get all the messages
    >and distribute them to target processes?


    You should post your question in an OS specific news-group; ISO-C has no
    notion of InterProcessCommunication.

    And please read the c.l.c welcome-message

    http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html

    and the c.l.c-faq

    http://www.eskimo.com/~scs/C-faq/top.html

    before posting here, thank you.

    Regards
    --
    Irrwahn
    ()
     
    Irrwahn Grausewitz, Oct 17, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fuma
    Replies:
    0
    Views:
    2,810
  2. Kevin McMurtrie

    POSIX semaphores in JNI?

    Kevin McMurtrie, Jul 24, 2004, in forum: Java
    Replies:
    1
    Views:
    903
    Stefan Poehn
    Jul 26, 2004
  3. Replies:
    12
    Views:
    1,003
  4. Moiz
    Replies:
    0
    Views:
    474
  5. Nish
    Replies:
    1
    Views:
    416
    Victor Bazarov
    Sep 30, 2004
Loading...

Share This Page