Commit d63e7a1b authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Replace all includes of pthread.h with the portability header

Summary: It is a non-portable include as it is include-order sensitive.

Reviewed By: yfeldblum

Differential Revision: D5427885

fbshipit-source-id: 50850064fc8fa3ed6f8fc235f31edbda4144663c
parent 61684201
......@@ -18,7 +18,6 @@
#include <folly/experimental/symbolizer/SignalHandler.h>
#include <pthread.h>
#include <signal.h>
#include <sys/types.h>
......@@ -34,6 +33,7 @@
#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>
......
......@@ -15,7 +15,6 @@
*/
#pragma once
#include <pthread.h>
#include <signal.h>
#include <folly/ExceptionWrapper.h>
......@@ -30,6 +29,7 @@
#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>
......
......@@ -15,8 +15,6 @@
*/
#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>
......@@ -24,6 +22,7 @@
#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;
......
......@@ -18,8 +18,6 @@
#include <folly/ProducerConsumerQueue.h>
#include <pthread.h>
#include <cstdio>
#include <iostream>
#include <thread>
......@@ -28,6 +26,7 @@
#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>
......
......@@ -16,8 +16,6 @@
#include <folly/SmallLocks.h>
#include <pthread.h>
#include <cassert>
#include <condition_variable>
#include <cstdio>
......@@ -29,6 +27,7 @@
#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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment