Message queues (IPC)
From: Arne (ahenric_at_ccii.co.za)
Date: 08/16/04
- Previous message: Naresh Bhalala: "Stuck at Network Driver Example "snull" in book - Linux Device Drive by RUBINI"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: Message queues (IPC)"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: Message queues (IPC)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Aug 2004 07:13:28 -0700
Hi,
I am very new to Linux programming. My task is to port a vxWorks
driver to Linux, hence some questions regarding message queues:
1: The sys_msgget() function, to create a new message queue, one has
to use IPC_PRIVATE for the key value. Will this particular message
queue then always sit at key 0? Or will it be assigned to another key
value, and if so, how does one get it?
2: Is there something similar to a timeout value for the sys_msgrcv()
function? A way to wait for a specific number of ticks before
returning?
3: Where is the System V IPC described in detail? There doesn't seem
to be much on the web.
Regards
Arne
- Previous message: Naresh Bhalala: "Stuck at Network Driver Example "snull" in book - Linux Device Drive by RUBINI"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: Message queues (IPC)"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: Message queues (IPC)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|