Boost C++ Libraries: Ticket #2729: named_condition.hpp does not compile https://svn.boost.org/trac10/ticket/2729 <p> named_condition::wait() causes the compile error with msvc8. </p> <pre class="wiki"> namespace ip = boost::interprocess; ip::interprocess_mutex mtx; ip::named_condition cond(ip::create_only, "Test"); ip::scoped_lock&lt;ip::interprocess_mutex&gt; lock(mtx); cond.wait(lock); // error </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2729 Trac 1.4.3 yusuke_mitsuki@… Thu, 05 Feb 2009 08:12:38 GMT attachment set https://svn.boost.org/trac10/ticket/2729 https://svn.boost.org/trac10/ticket/2729 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">named_condition.patch</span> </li> </ul> Ticket Ion Gaztañaga Thu, 05 Feb 2009 08:26:21 GMT milestone changed https://svn.boost.org/trac10/ticket/2729#comment:1 https://svn.boost.org/trac10/ticket/2729#comment:1 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost 1.39.0</span> </li> </ul> <p> The documentation says: </p> <p> "A global condition variable that can be created by name. This condition variable is designed to work with named_mutex and can't be placed in shared memory or memory mapped files." </p> <p> So a named condition variable can't be used with interprocess_mutex. The documentation of wait functions mentions interprocess_mutex so the documentation of those functions is wrong. </p> Ticket Ion Gaztañaga Wed, 25 Mar 2009 17:49:15 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2729#comment:2 https://svn.boost.org/trac10/ticket/2729#comment:2 <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">fixed</span> </li> </ul> <p> Fixed documentation and added compile-time static assertion. </p> Ticket