Summary:
As part of the work towards getting Folly compiling without PThread, it needs to be treated as a non-portable include.
This switches the includes not already covered by other diffs.
Reviewed By: yfeldblum
Differential Revision:
D4882777
fbshipit-source-id:
d9521564c814f9bcff2fcb358cbb89b3777c327d
#include <cstdint>
-#include <pthread.h>
+#include <folly/portability/PThread.h>
namespace folly {
#include <thread>
#include <type_traits>
-#include <pthread.h>
-
#include <folly/Range.h>
#include <folly/Traits.h>
+#include <folly/portability/PThread.h>
namespace folly {
#include <folly/Portability.h>
#include <folly/ScopeGuard.h>
#include <folly/detail/CacheLocality.h>
+#include <folly/portability/PThread.h>
#include <folly/portability/SysMman.h>
#include <folly/portability/Unistd.h>
#include <limits.h>
-#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <utility>
#pragma once
#include <limits.h>
-#include <pthread.h>
#include <atomic>
#include <functional>
#include <folly/MicroSpinLock.h>
#include <folly/Portability.h>
#include <folly/ScopeGuard.h>
+#include <folly/portability/PThread.h>
#include <folly/detail/StaticSingletonManager.h>