![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
try to use the ipcs command , there we shall be getting the share memory infor and process related info
|
|
#3
|
|||
|
|||
|
Please check out Beej's Guide to Unix Interprocess Communication - it is very helpful.
|
|||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|