Thread: posix queues

  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
    396
    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, 02:36 AM
  2. POSIX threads policy and priority
    By arunj in forum Linux Programming
    Replies: 2
    Last Post: 06-13-2006, 03:48 AM
  3. Concatenating two static queues?
    By difficult.name in forum C Programming
    Replies: 2
    Last Post: 10-18-2004, 11:19 PM
  4. POSIX on windows anyone?
    By Lynux-Penguin in forum Linux Programming
    Replies: 1
    Last Post: 08-27-2003, 12:56 AM
  5. queues
    By jamesb in forum C Programming
    Replies: 1
    Last Post: 04-21-2002, 08:57 PM