Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84096 - in trunk: boost/thread/pthread libs/thread/doc
From: vicente.botet_at_[hidden]
Date: 2013-05-01 04:18:07


Author: viboes
Date: 2013-05-01 04:18:03 EDT (Wed, 01 May 2013)
New Revision: 84096
URL: http://svn.boost.org/trac/boost/changeset/84096

Log:
Thread: apply patch for #8530.
Text files modified:
   trunk/boost/thread/pthread/thread_data.hpp | 2 ++
   trunk/libs/thread/doc/changes.qbk | 4 ++--
   2 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/boost/thread/pthread/thread_data.hpp
==============================================================================
--- trunk/boost/thread/pthread/thread_data.hpp (original)
+++ trunk/boost/thread/pthread/thread_data.hpp 2013-05-01 04:18:03 EDT (Wed, 01 May 2013)
@@ -132,8 +132,10 @@
             bool interrupt_requested;
 //#endif
             thread_data_base():
+ thread_handle(0),
                 done(false),join_started(false),joined(false),
                 thread_exit_callbacks(0),
+ cond_mutex(0),
                 current_cond(0),
                 notify(),
                 async_states_()

Modified: trunk/libs/thread/doc/changes.qbk
==============================================================================
--- trunk/libs/thread/doc/changes.qbk (original)
+++ trunk/libs/thread/doc/changes.qbk 2013-05-01 04:18:03 EDT (Wed, 01 May 2013)
@@ -16,7 +16,6 @@
 * [@http://svn.boost.org/trac/boost/ticket/8273 #8273] Add externally locked streams
 * [@http://svn.boost.org/trac/boost/ticket/8274 #8274] Add concurrent queue
 * [@http://svn.boost.org/trac/boost/ticket/8518 #8518] Sync: Add a latch class
-* [@http://svn.boost.org/trac/boost/ticket/XXXX #XXXX] Sync: Add a completion_latch class
 
 [*Fixed Bugs:]
 
@@ -52,7 +51,8 @@
 * [@http://svn.boost.org/trac/boost/ticket/8337 #8337] The internal representation of "std::string(this->code()->message())" escapes, but is destroyed when it exits scope.
 * [@http://svn.boost.org/trac/boost/ticket/8371 #8371] C++11 once_flag enabled when constexpr is not available
 * [@http://svn.boost.org/trac/boost/ticket/8443 #8443] Header file inclusion order may cause crashes
-* [@http://svn.boost.org/trac/boost/ticket/8451 #8451] Mmissing documented function 'boost::scoped_thread::joinable'
+* [@http://svn.boost.org/trac/boost/ticket/8451 #8451] Missing documented function 'boost::scoped_thread::joinable'
+* [@http://svn.boost.org/trac/boost/ticket/8451 #8530] [Coverity] Unused variable thread_handle, uninitialized variable cond_mutex in thread/pthread/thread_data.hpp
 
 
 [heading Version 4.0.0 - boost 1.53]


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