mirror of
https://github.com/boostorg/thread.git
synced 2026-02-10 11:52:10 +00:00
Thread: try to make it possible to avoid the use of Boost.Chrono
[SVN r76570]
This commit is contained in:
@@ -317,6 +317,7 @@ namespace boost
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef BOOST_THREAD_USES_CHRONO
|
||||
bool thread::do_try_join_for(chrono::milliseconds const &rel_time_in_milliseconds) {
|
||||
if (this_thread::get_id() == get_id())
|
||||
{
|
||||
@@ -334,6 +335,7 @@ namespace boost
|
||||
return true;
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
void thread::detach()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user