Boost C++ Libraries: Ticket #4165: message_queue delays https://svn.boost.org/trac10/ticket/4165 <p> Hello, </p> <p> I've encountered an issue with send/receive delays while using interprocess::message_queue. </p> <p> Although mostly it takes 1-2 microseconds to send/receive a message, about 5% of the messages are delayed for 1-2 milliseconds. </p> <p> It seems that at revision 34837 (Aug06), which was a major update, the lines that check for 'was_empty' and 'was_full' before using the condition's notify, were commented out. </p> <p> Fix: I've uncommented those lines and everything seems fine now - no delays. Also, this seems to fix another issue in my platform (Win7) - a forceful shutdown of a client using message_queue caused, sometimes, a termination of the server. (again, related to the condition variable) </p> <p> Attached a diff file for this fix. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4165 Trac 1.4.3 eran <eran@…> Thu, 29 Apr 2010 08:37:25 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4165#comment:1 https://svn.boost.org/trac10/ticket/4165#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> Ticket