By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,136 Members | 1,301 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,136 IT Pros & Developers. It's quick & easy.

Shared memory & Semaphores

P: n/a
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
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
mt*****@hotmail.com (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/bchambl...me_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
(ir*******@freenet.de)
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.