tnintemann / rpms / boost

Forked from rpms/boost 3 years ago
Clone

Blame SOURCES/boost-1.53-joinable.patch

e796e9
Index: boost/thread/scoped_thread.hpp
e796e9
===================================================================
e796e9
--- boost/thread/scoped_thread.hpp	(revision 83938)
e796e9
+++ boost/thread/scoped_thread.hpp	(working copy)
e796e9
@@ -171,6 +171,11 @@
e796e9
       t_.detach();
e796e9
     }
e796e9
 
e796e9
+    bool joinable() const BOOST_NOEXCEPT
e796e9
+    {
e796e9
+      return t_.joinable();
e796e9
+    }
e796e9
+
e796e9
     void join()
e796e9
     {
e796e9
       t_.join();