Commit 5b2baded authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'hardware_interference_fix' into 'master'

Fix feature detection macro for hardware_destructive_interference_size

See merge request !38
parents d984e0fb 05c7882c
......@@ -611,7 +611,7 @@ template <typename T> struct aligned_allocator
class thread_pool
{
#if __cplusplus >= 201703L
#if __cpp_lib_hardware_interference_size >= 201603L
struct alignas(std::hardware_destructive_interference_size) worker
#else
struct alignas(64) worker
......
Markdown is supported
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