Boost C++ Libraries: Ticket #3391: call_once ignores return value https://svn.boost.org/trac10/ticket/3391 <p> The following code in call_once() ignores return value from windows api: </p> <p> boost\thread\win32\once.hpp:120 </p> <pre class="wiki">void* const mutex_handle(::boost::detail::create_once_mutex(&amp;flag)); BOOST_ASSERT(mutex_handle); </pre><p> ::boost::detail::create_once_mutex can return NULL but there is only BOOST_ASSERT. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3391 Trac 1.4.3 anonymous Sun, 06 Jun 2010 13:06:59 GMT <link>https://svn.boost.org/trac10/ticket/3391#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3391#comment:1</guid> <description> <p> Implementation changed since revision 57822, so the warning should be disapeared. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Anthony Williams</dc:creator> <pubDate>Mon, 07 Jun 2010 08:12:45 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3391#comment:2 https://svn.boost.org/trac10/ticket/3391#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 on trunk </p> Ticket