#include <folly/experimental/symbolizer/SignalHandler.h>
-#include <pthread.h>
#include <signal.h>
#include <sys/types.h>
#include <folly/ScopeGuard.h>
#include <folly/experimental/symbolizer/ElfCache.h>
#include <folly/experimental/symbolizer/Symbolizer.h>
+#include <folly/portability/PThread.h>
#include <folly/portability/SysSyscall.h>
#include <folly/portability/Unistd.h>
*/
#pragma once
-#include <pthread.h>
#include <signal.h>
#include <folly/ExceptionWrapper.h>
#include <folly/io/async/ssl/SSLErrors.h>
#include <folly/io/async/test/TestSSLServer.h>
#include <folly/portability/GTest.h>
+#include <folly/portability/PThread.h>
#include <folly/portability/Sockets.h>
#include <folly/portability/Unistd.h>
*/
#include <folly/io/async/test/AsyncSSLSocketTest.h>
-#include <pthread.h>
-
#include <folly/futures/Promise.h>
#include <folly/init/Init.h>
#include <folly/io/async/AsyncSSLSocket.h>
#include <folly/io/async/SSLContext.h>
#include <folly/io/async/ScopedEventBaseThread.h>
#include <folly/portability/GTest.h>
+#include <folly/portability/PThread.h>
using std::string;
using std::vector;
#include <folly/ProducerConsumerQueue.h>
-#include <pthread.h>
-
#include <cstdio>
#include <iostream>
#include <thread>
#include <folly/Benchmark.h>
#include <folly/portability/GFlags.h>
+#include <folly/portability/PThread.h>
#include <folly/stats/Histogram.h>
#include <folly/stats/Histogram-defs.h>
#include <folly/SmallLocks.h>
-#include <pthread.h>
-
#include <cassert>
#include <condition_variable>
#include <cstdio>
#include <folly/Random.h>
#include <folly/portability/Asm.h>
#include <folly/portability/GTest.h>
+#include <folly/portability/PThread.h>
#include <folly/portability/Unistd.h>
using folly::MSLGuard;