CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    18

    Unix System V - message queue

    Is Linux System V IPC Message Queue thread safe? I have one process, writing to a message queue. Can I have more than one process reading from the message queue.

  2. #2
    Join Date
    Nov 2003
    Posts
    1,902

    Re: Unix System V - message queue

    Yes, under Posix they are thread safe.

    gg

  3. #3
    Join Date
    Oct 2007
    Posts
    63

    Re: Unix System V - message queue

    Quote Originally Posted by Codeplug View Post
    Yes, under Posix they are thread safe.

    gg
    i dont think SysV is POSIX compliant, unixware,hp-ux,aix,and irix are though, those are derived from SVR3 and 4...but the OP is saying Linux System V and I personally have never heard of that...
    Last edited by creeping death; March 31st, 2009 at 01:08 AM.

  4. #4
    Join Date
    Nov 2003
    Posts
    1,902

    Re: Unix System V - message queue

    The Posix standard contains some SysV IPC mechanisms as well as multi-threading. So saying anything about the two together only makes sense under Posix.

    http://www.opengroup.org/onlinepubs/...chap02_07.html

    gg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured