Subject: [Boost-bugs] [Boost C++ Libraries] #7918: Nonsense ternary operator in thread::get_id() when BOOST_THREAD_PLATFORM_PTHREAD but not BOOST_THREAD_PROVIDES_BASIC_THREAD_ID
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-22 11:01:06
#7918: Nonsense ternary operator in thread::get_id() when
BOOST_THREAD_PLATFORM_PTHREAD but not BOOST_THREAD_PROVIDES_BASIC_THREAD_ID
-----------------------+----------------------------------------------------
Reporter: anonymous | Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.52.0
Severity: Problem | Keywords:
-----------------------+----------------------------------------------------
Perhaps this code can be deleted?
It's in a couple of places:
{{{
return (local_thread_info? id(local_thread_info) id());
}}}
{{{
return
(thread_info?thread::id(thread_info->shared_from_this()):thread::id());
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7918> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC