Commit 0eb0e272 authored by Peter Bell's avatar Peter Bell
Browse files

Drop hardware_interference_size. Not implemented in any standard library

parent 7a39f782
......@@ -611,11 +611,9 @@ template <typename T> struct aligned_allocator
class thread_pool
#if __cpp_lib_hardware_interference_size >= 201603L
struct alignas(std::hardware_destructive_interference_size) worker
struct alignas(64) worker
// A reasonable guess, probably close enough for most hardware
static constexpr size_t cache_line_size = 64;
struct alignas(cache_line_size) worker
std::thread thread;
std::condition_variable work_ready;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment