Kill FOLLY_ALIGNED etc
[folly.git] / folly / executors / IOThreadPoolExecutor.h
index b7c6688d5cb762cf1ce065b8c07ce0a5004f50ca..1d270cf5b8e1dc08790f74841f422227173409fe 100644 (file)
@@ -73,7 +73,8 @@ class IOThreadPoolExecutor : public ThreadPoolExecutor, public IOExecutor {
   folly::EventBaseManager* getEventBaseManager();
 
  private:
-  struct FOLLY_ALIGN_TO_AVOID_FALSE_SHARING IOThread : public Thread {
+  struct alignas(hardware_destructive_interference_size) IOThread
+      : public Thread {
     IOThread(IOThreadPoolExecutor* pool)
         : Thread(pool), shouldRun(true), pendingTasks(0) {}
     std::atomic<bool> shouldRun;