The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
message queues and multi-process rvan High Level Programming 10 09-04-2007 11:06 PM
UNIX Message Queues vs. Sockets zen29sky UNIX for Advanced & Expert Users 2 03-21-2007 10:56 AM
maximun number of message queues princelinux Linux 4 09-09-2006 04:10 AM
message queues sukaam UNIX for Dummies Questions & Answers 2 07-22-2005 01:41 AM
Message queues mgchato High Level Programming 9 05-30-2005 08:15 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 01-22-2007
Registered User
 

Join Date: Jan 2007
Posts: 30
shared memory and message queues

Hi,

According to my understanding..
When message queues are used, when a process post a message in the queue and if another process reads it from the queue then the queue will be empty unlike shared memory where n number of processess can access the shared memory and still the contents remain there until its deliberately removed.
So when i want to use an IPC between processess and i want the contents to be there until deliberately removed i feel shared memory is the option and not the message queues.. could anyone please clarify me?

Thanks
Reply With Quote
Forum Sponsor
  #2  
Old 01-22-2007
Registered User
 

Join Date: Dec 2006
Posts: 55
try to use the ipcs command , there we shall be getting the share memory infor and process related info
Reply With Quote
  #3  
Old 01-22-2007
Supporter
 

Join Date: Jul 2006
Posts: 156
Please check out Beej's Guide to Unix Interprocess Communication - it is very helpful.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:55 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0