[thread] std::this_thread reference in docs

Hi list. Since 1.50.0, the Boost.Thread documentation has started making references to std::this_thread::get_id() like in [1]. This is a bit strange, considering that the Thead library itself to my knowledge does not require C++11 (yet). Is this an accidental change? Should one read this as that the error condition is not achievable on C++03? 1.49: Preconditions: this->get_id()!=boost::this_thread::get_id() 1.50 (and 1.51): Preconditions: the thread is joinable. Error Conditions: resource_deadlock_would_occur: if deadlock is detected or this->get_id() == std::this_thread::get_id(). [1] http://www.boost.org/doc/libs/1_51_0/doc/html/thread/thread_management.html#... [2] http://www.boost.org/doc/libs/1_49_0/doc/html/thread/thread_management.html#... -- Lars Viklund | zao@acc.umu.se

Lars Viklund wrote
Hi list.
Since 1.50.0, the Boost.Thread documentation has started making references to std::this_thread::get_id() like in [1]. This is a bit strange, considering that the Thead library itself to my knowledge does not require C++11 (yet).
Is this an accidental change?
Should one read this as that the error condition is not achievable on C++03?
Yes this is and accidental change :(. I will fix them and check if I have introduced others. Best, Vicente -- View this message in context: http://boost.2283326.n4.nabble.com/thread-std-this-thread-reference-in-docs-... Sent from the Boost - Dev mailing list archive at Nabble.com.
participants (2)
-
Lars Viklund
-
Vicente Botet