2
0
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:
Vicente J. Botet Escriba
2012-01-18 00:13:17 +00:00
parent 11a951c679
commit b18314878a
18 changed files with 118 additions and 31 deletions

View File

@@ -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()
{