[help]how to implement a linux message queue in windows?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • walsug
    New Member
    • Oct 2008
    • 14

    [help]how to implement a linux message queue in windows?

    hello,
    I'm doing some job concerning code migration from linux to windows,one of the handicaps is the message queue,which is used to do interprocess communication.I 've tried several ways under windows such like pipes ,mailslot and sending message to a window(SendMess age then GetMessage),but it can't reach the performances of the linux's related system calls.
    I've got no time to write the message queue source code of my own,through the shared memory mechanism,which I know is theoretically feasible.

    what else can I do? Is there a source ready-made?
    thanks in advance~
    -yogo
  • pootle
    New Member
    • Apr 2008
    • 68

    #2
    Hi,

    You might try the boost signals library, see
    http://www.boost.org/doc/libs/1_36_0/doc/html/signals.html
    It has the advantage of being supported on many platforms *nix/Windows and with many compilers.

    Regards.



    Originally posted by walsug
    hello,
    I'm doing some job concerning code migration from linux to windows,one of the handicaps is the message queue,which is used to do interprocess communication.I 've tried several ways under windows such like pipes ,mailslot and sending message to a window(SendMess age then GetMessage),but it can't reach the performances of the linux's related system calls.
    I've got no time to write the message queue source code of my own,through the shared memory mechanism,which I know is theoretically feasible.

    what else can I do? Is there a source ready-made?
    thanks in advance~
    -yogo

    Comment

    Working...