Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81914 - in branches/release/libs/thread: . src/pthread src/win32
From: vicente.botet_at_[hidden]
Date: 2012-12-13 16:33:58


Author: viboes
Date: 2012-12-13 16:33:57 EST (Thu, 13 Dec 2012)
New Revision: 81914
URL: http://svn.boost.org/trac/boost/changeset/81914

Log:
Thread: merge [81788]-tools dir missing
Properties modified:
   branches/release/libs/thread/ (props changed)
Text files modified:
   branches/release/libs/thread/src/pthread/thread.cpp | 2 +-
   branches/release/libs/thread/src/win32/thread.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/libs/thread/src/pthread/thread.cpp
==============================================================================
--- branches/release/libs/thread/src/pthread/thread.cpp (original)
+++ branches/release/libs/thread/src/pthread/thread.cpp 2012-12-13 16:33:57 EST (Thu, 13 Dec 2012)
@@ -395,7 +395,7 @@
 
     bool thread::joinable() const BOOST_NOEXCEPT
     {
- return (get_thread_info)();
+ return (get_thread_info)()!=0;
     }
 
 

Modified: branches/release/libs/thread/src/win32/thread.cpp
==============================================================================
--- branches/release/libs/thread/src/win32/thread.cpp (original)
+++ branches/release/libs/thread/src/win32/thread.cpp 2012-12-13 16:33:57 EST (Thu, 13 Dec 2012)
@@ -330,7 +330,7 @@
 
     bool thread::joinable() const BOOST_NOEXCEPT
     {
- return (get_thread_info)();
+ return (get_thread_info)() != 0;
     }
     bool thread::join_noexcept()
     {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk