Excellent description of PMQ & System V queues in "Unix Network Programming Vol 2" by W. Richard Stevens. Quote: 1. A read on a PMQ always returns the oldest message of the highest priority, whereas SystemV can return a message of any desired priority. 2. PMQ's allow the generation of a signal or the initiation of a thread when a message is placed on an empty queue, whereas nothing similar is provided by SystemV massage queues. Inactive hide details for ibc---11/07/2012 22:17:18---Hi, according to the doc: "POSIX message queues allow local processes to ibc---11/07/2012 22:17:18---Hi, according to the doc: "POSIX message queues allow local processes to exchange data in the [cid:2__=4EBBF0AADFAC31398f9e8a93d@bnpparibas.com] [ruby.posix.mq] Posix Message Queue vs System V Message Queue (Internet) ibc A : ruby.posix.mq 11/07/2012 22:17 Envoye par: ruby.posix.mq@librelist.org Veuillez repondre `a ruby.posix.mq _______________________________________________________________________ Hi, according to the doc: "POSIX message queues allow local processes to exchange data in the form of messages. This API is distinct from that provided by System V message queues, but provides similar functionality." My Ruby project [*] uses posix_mq Gem heavily. The "problem" is that Posix mq is not supported in OSX (not a real problem for me but... you know). So I wonder, which is the advantage of Posix MQ over System V MQ? And... does Ruby (1.9) include support for System V mq? I've found a project: [1]http://sysvipc.rubyforge.org/ but it seems that it does not provide a like-IO object in the way posix_mq provides, so I cannot properly integrate it with EventMachine (I did it for EM: [2]https://github.com/ibc/em-posixmq). Thanks a lot for any explanation. [*] [3]https://github.com/versatica/OverSIP -- Inaki Baz Castillo This message and any attachments (the "message") is intended solely for the intended addressees and is confidential. If you receive this message in error,or are not the intended recipient(s), please delete it and any copies from your systems and immediately notify the sender. Any unauthorized view, use that does not comply with its purpose, dissemination or disclosure, either whole or partial, is prohibited. Since the internet cannot guarantee the integrity of this message which may not be reliable, BNP PARIBAS (and its subsidiaries) shall not be liable for the message if modified, changed or falsified. Do not print this message unless it is necessary,consider the environment. ----------------------------------------------------------------------- ----------------------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur ou s'il ne vous est pas destine, merci de le detruire ainsi que toute copie de votre systeme et d'en avertir immediatement l'expediteur. Toute lecture non autorisee, toute utilisation de ce message qui n'est pas conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite. L'Internet ne permettant pas d'assurer l'integrite de ce message electronique susceptible d'alteration, BNP Paribas (et ses filiales) decline(nt) toute responsabilite au titre de ce message dans l'hypothese ou il aurait ete modifie, deforme ou falsifie. N'imprimez ce message que si necessaire, pensez a l'environnement. References 1. http://sysvipc.rubyforge.org/ 2. https://github.com/ibc/em-posixmq 3. https://github.com/versatica/OverSIP