Switch a couple of uses of __thread to FOLLY_TLS
[folly.git] / folly / experimental / fibers / FiberManager.h
index fc8890696a9d241cef6316c372da13f42f9895d2..9c2ae7567fbd693e0fee9f17d9931ee3a9000f37 100644 (file)
@@ -307,7 +307,7 @@ class FiberManager : public ::folly::Executor {
    * When we are inside FiberManager loop this points to FiberManager. Otherwise
    * it's nullptr
    */
-  static __thread FiberManager* currentFiberManager_;
+  static FOLLY_TLS FiberManager* currentFiberManager_;
 
   /**
    * runInMainContext implementation for non-void functions.