Boost C++ Libraries: Ticket #7027: interprocess: Message queue using Windows shared memory https://svn.boost.org/trac10/ticket/7027 <p> <code>interprocess::message_queue</code> currently always uses the <code>shared_memory_object</code> implementation. However, on Windows it can be desireable to have a message queue backed by <code>windows_shared_memory</code> instead. These patches add support for this. </p> <ul><li>The first patch generalizes <code>message_queue_t&lt;&gt;</code>; the message queue logic is moved into <code>message_queue_base_t&lt;&gt;</code>, and the actual storage backend handling is delegated to a derived class. <code>message_queue_t&lt;&gt;</code> is changed to be based on <code>message_queue_base_t&lt;&gt;</code> and to provide storage in a <code>shared_memory_object</code>. </li><li>The second patch adds the <code>windows_message_queue&lt;&gt;</code> class which backs the storage with a <code>windows_shared_memory</code>. A variant of the message queue test is also added. </li></ul> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7027 Trac 1.4.3 frank.richter@… Tue, 26 Jun 2012 11:02:47 GMT attachment set https://svn.boost.org/trac10/ticket/7027 https://svn.boost.org/trac10/ticket/7027 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-message-queue-customize.diff</span> </li> </ul> <p> interprocess: message queue generalization to support different storages </p> Ticket frank.richter@… Tue, 26 Jun 2012 11:03:54 GMT attachment set https://svn.boost.org/trac10/ticket/7027 https://svn.boost.org/trac10/ticket/7027 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-windows-message-queue.diff</span> </li> </ul> <p> interprocess: message queue using windows_shared_memory </p> Ticket josuegomes@… Wed, 01 Aug 2012 16:30:55 GMT <link>https://svn.boost.org/trac10/ticket/7027#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7027#comment:1</guid> <description> <p> Unfortunately this doesn't give any big performance improvement. Please see <a class="ext-link" href="http://stackoverflow.com/questions/6212138/boostinterprocess-message-queue-performance-rather-slow"><span class="icon">​</span>http://stackoverflow.com/questions/6212138/boostinterprocess-message-queue-performance-rather-slow</a>. </p> </description> <category>Ticket</category> </item> <item> <author>frank.richter@…</author> <pubDate>Wed, 01 Aug 2012 16:41:37 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7027#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7027#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/7027#comment:1" title="Comment 1">josuegomes@…</a>: </p> <blockquote class="citation"> <p> Unfortunately this doesn't give any big performance improvement </p> </blockquote> <p> Performance wasn't the motivation; it was to avoid the emulation of POSIX semantics that is performed Boost.Interprocess shared memory on Windows (when not using native shared memory). </p> </description> <category>Ticket</category> </item> </channel> </rss>