2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-27 07:22:11 +00:00

Thread: provide physical_concurrency conditionally.

[SVN r86002]
This commit is contained in:
Vicente J. Botet Escriba
2013-09-29 14:41:01 +00:00
parent 6fab117c17
commit e3a1498355

View File

@@ -266,10 +266,12 @@ namespace boost
return thread::hardware_concurrency();
}
#ifdef BOOST_THREAD_PROVIDES_PHYSICAL_CONCURRENCY
static unsigned physical_concurrency() BOOST_NOEXCEPT
{
return thread::physical_concurrency();
}
#endif
};
/**