Kill FOLLY_ALIGNED etc
[folly.git] / folly / executors / ThreadPoolExecutor.h
index 0e5bcc178a3cd5c97b90c8a7791b12cd53a02809..38154a862fc9db56ffd87733550dc44f5e2a741c 100644 (file)
@@ -129,7 +129,8 @@ class ThreadPoolExecutor : public virtual folly::Executor {
 
   struct TaskStatsCallbackRegistry;
 
-  struct FOLLY_ALIGN_TO_AVOID_FALSE_SHARING Thread : public ThreadHandle {
+  struct alignas(hardware_destructive_interference_size) Thread
+      : public ThreadHandle {
     explicit Thread(ThreadPoolExecutor* pool)
         : id(nextId++),
           handle(),