The UNIX and Linux Forums  
Hello and Welcome from to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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-05-2007 03:06 AM
UNIX Message Queues vs. Sockets zen29sky UNIX for Advanced & Expert Users 2 03-21-2007 01:56 PM
maximun number of message queues princelinux Linux 4 09-09-2006 08:10 AM
message queues sukaam UNIX for Dummies Questions & Answers 2 07-22-2005 05:41 AM
Message queues mgchato High Level Programming 9 05-31-2005 12:15 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-22-2007
rvan rvan is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 35
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
  #2 (permalink)  
Old 01-22-2007
maheshwin maheshwin is offline
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
  #3 (permalink)  
Old 01-22-2007
nathan nathan is offline VIP Member  
Supporter
  
 

Join Date: Jul 2006
Posts: 156
Please check out Beej's Guide to Unix Interprocess Communication - it is very helpful.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:04 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0