posix queues

This is a discussion on posix queues within the Linux Programming forums, part of the Platform Specific Boards category; Please some1 tell me is it possible 2 pass a data of type structure using posix queues itz mq_snd or ...

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    2

    posix queues

    Please some1 tell me is it possible 2 pass a data of type structure using posix queues itz mq_snd or any other possible way.........

  2. #2
    Registered User
    Join Date
    Apr 2008
    Posts
    395
    sure, with legacy ipc queues (msgsnd,...), you have to define your structure and add explicitly members for the system (mtype,...); with posix queues, you simply exchange buffers. Shared memory obviously allows that too, pipes or equivalent may also be used.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Implementing POSIX Timers on AIX - Holy Moly
    By dedham_ma_man in forum C Programming
    Replies: 2
    Last Post: 10-03-2007, 03:36 AM
  2. POSIX threads policy and priority
    By arunj in forum Linux Programming
    Replies: 2
    Last Post: 06-13-2006, 04:48 AM
  3. Concatenating two static queues?
    By difficult.name in forum C Programming
    Replies: 2
    Last Post: 10-19-2004, 12:19 AM
  4. POSIX on windows anyone?
    By Lynux-Penguin in forum Linux Programming
    Replies: 1
    Last Post: 08-27-2003, 01:56 AM
  5. queues
    By jamesb in forum C Programming
    Replies: 1
    Last Post: 04-21-2002, 09:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21