Message queues (IPC)

From: Arne (ahenric_at_ccii.co.za)
Date: 08/16/04

  • Next message: P.T. Breuer: "Re: Stuck at Network Driver Example "snull" in book - Linux Device Drive by RUBINI"
    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


  • Next message: P.T. Breuer: "Re: Stuck at Network Driver Example "snull" in book - Linux Device Drive by RUBINI"

    Relevant Pages