message queues and shared memory ?

message queues and shared memory ?

Post by Wim Lambrecht » Tue, 19 Nov 1996 04:00:00



Hi,

I am a student who is supposed to write C-programs in an
UNIX-environment and have problems using MESSAGE QUEUES and SHARED
MEMORY (I think by a lack of information ;-)

Is there anyone out there who has some simple sourcecodes in which
those two concepts (or just one of them) are used ? Just to have an
idea how to implement them...

Please send comments to my E-mail address, since my newsgroup access
is rather limited.

Sincere greetz,

Wim Lambrechts


 
 
 

message queues and shared memory ?

Post by Squi » Fri, 29 Nov 1996 04:00:00



>Hi,
>I am a student who is supposed to write C-programs in an
>UNIX-environment and have problems using MESSAGE QUEUES and SHARED
>MEMORY (I think by a lack of information ;-)

Any decent Unix book goes over these very details, you have one in your library?
If not, try "man shmget"
>Is there anyone out there who has some simple sourcecodes in which
>those two concepts (or just one of them) are used ? Just to have an
>idea how to implement them...
>Please send comments to my E-mail address, since my newsgroup access
>is rather limited.
>Sincere greetz,
>Wim Lambrechts



 
 
 

1. shared memory and message-queues

Hello

I'm still a little bit confused where I should locate this query.
I hope this newsgroup fits.

The problem I run into is that we program some interprocess SW which
passes messages in between some processes and the processes use a
shared memory too. Since Linux hasn't a tool like 'ipcs' or 'iprm'
the only way to get rid of unusable queues and shared memory
is a reboot! :-\

Does anybody know how I can handle this problem in a more accurate way?
Or is there somewhere a free bundle of 'ipc' tools?

Volker

-------------------------------------------------------------------------------
                                                 | Volker Doerrsam
                                                 | Institut fuer Foerdertechnik
                                                 | Abt. Materialfluss
                                                 | Tel.: +49 721/608-4428
                                                 | Fax : +49 721/758378
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------

2. A new directory hierarchy standard - need opinions

3. IPC with shared memory and message queues?

4. VTP In Lan Manager

5. Where's my {shared memory,semaphores,message queues}?

6. sfio

7. Shared memory and message queues

8. (none)

9. Is there a tunable or limit for shared memory and message queues?

10. posix.4 (message queues and shared memory) on AIX?

11. Shared memory, messages queues, semaphores

12. ?SRC: Queue Mngr Lib for Shared Memory?

13. Solaris 10: Increasing the process data space; shared memory segments & intimate shared memory problems