diff -rupN boost_1_43_0/boost/thread/future.hpp boost_vms_1_43_0/boost/thread/future.hpp
old
|
new
|
namespace boost
|
413 | 413 | { |
414 | 414 | for(count_type i=0;i<count;++i) |
415 | 415 | { |
416 | | locks[i]=boost::unique_lock<boost::mutex>(futures[i].future->mutex); |
| 416 | locks[i]=boost::unique_lock<boost::mutex>(futures[i].future->mutex).move(); |
417 | 417 | } |
418 | 418 | } |
419 | 419 | |
diff -rupN boost_1_43_0/boost/thread/pthread/thread_data.hpp boost_vms_1_43_0/boost/thread/pthread/thread_data.hpp
old
|
new
|
namespace boost
|
114 | 114 | { |
115 | 115 | void BOOST_THREAD_DECL yield(); |
116 | 116 | |
| 117 | #ifdef __DECCXX |
| 118 | template<typename TimeDuration> |
| 119 | inline void sleep(TimeDuration const& rel_time) |
| 120 | { |
| 121 | this_thread::sleep(get_system_time()+rel_time); |
| 122 | } |
| 123 | |
| 124 | /// Workaround of DECCXX issue of incorrect template substitution |
| 125 | template<> |
| 126 | void BOOST_THREAD_DECL sleep(system_time const& abs_time); |
| 127 | |
| 128 | #else |
117 | 129 | void BOOST_THREAD_DECL sleep(system_time const& abs_time); |
118 | 130 | |
119 | 131 | template<typename TimeDuration> |
… |
… |
namespace boost
|
121 | 133 | { |
122 | 134 | this_thread::sleep(get_system_time()+rel_time); |
123 | 135 | } |
| 136 | #endif |
124 | 137 | } |
125 | 138 | } |
126 | 139 | |
diff -rupN boost_1_43_0/libs/thread/src/pthread/thread.cpp boost_vms_1_43_0/libs/thread/src/pthread/thread.cpp
old
|
new
|
namespace boost
|
322 | 322 | |
323 | 323 | namespace this_thread |
324 | 324 | { |
325 | | |
| 325 | #ifdef __DECXXX |
| 326 | /// Workaround of DECCXX issue of incorrect template substitution |
| 327 | template<> |
| 328 | #endif |
326 | 329 | void sleep(const system_time& st) |
327 | 330 | { |
328 | 331 | detail::thread_data_base* const thread_info=detail::get_current_thread_data(); |