title: lightweight cross-platform message queue for IPC
body: <pre><code>gcc 4.7.2
  c89
  </code></pre>
  
  <p>I am looking for a lightweight message queue (IPC), that is cross-platform (linux, windows).</p>
  
  <p>I have used msgget, msgsnd, and msgrcv. But this is not cross-platform so wouldn't work on windows.</p>
  
  <p>I don't need any socket layer (tcp, udp). As all the messaging will be on the same server.</p>
  
  <p>Basically, I have an event loop and I will block (separate thread) until I get a message from the message queue (msgrcv). Then process that event. The messages will come from another shared library that I have created that I will monitor events from in my event loop.</p>
  
  <p>I just want to be able to send message to the message queue (msgsnd) and then receive them (msgrcv) in my event loop.</p>