Boost C++ Libraries: Ticket #323: protection against spurious wakeups? https://svn.boost.org/trac10/ticket/323 <pre class="wiki">Will your library be safe in this aspect? http://boost.org/doc/html/threads/design.html#id617110 Would you like to use anything from the discussion on this topic? http://groups.google.de/groups?threadm=40ed1d8f.0411191313.4dff837c@posting.google.com </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/323 Trac 1.4.3 Roland Schwarz Sun, 01 Oct 2006 18:05:04 GMT <link>https://svn.boost.org/trac10/ticket/323#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/323#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=541730 Spurious wakeups are not considered to be wrong. Use a loop around the wait to recheck the condition. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>elfring</dc:creator> <pubDate>Mon, 02 Oct 2006 08:52:55 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/323#comment:2 https://svn.boost.org/trac10/ticket/323#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=572001 I imagine that this loop can be encapsulated in a (template) class. I am interested in a little service so it can not be forgotten. Please document this detail and check the link "Strategies for Implementing POSIX Condition Variables on Win32" on the page "http://boost.org/doc/html/threads.html#threads.bibliography". A design without spurious wakeups is available by an other library. http://zthread.sourceforge.net/html/classZThread_1_1Condition.html </pre> Ticket Anthony Williams Thu, 24 May 2007 09:05:21 GMT status, resolution changed; severity set https://svn.boost.org/trac10/ticket/323#comment:3 https://svn.boost.org/trac10/ticket/323#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">Later</span> → <span class="trac-field-new">wontfix</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> Ticket