Kill a couple of PThread includes
authorChristopher Dykes <cdykes@fb.com>
Thu, 13 Apr 2017 18:24:51 +0000 (11:24 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 13 Apr 2017 18:41:23 +0000 (11:41 -0700)
Summary: They aren't actually needed, and are in the way of being able to build Folly without PThread.

Reviewed By: yfeldblum

Differential Revision: D4882410

fbshipit-source-id: e4a48600f79c57bb965a35fab94962a29b8e06d4

folly/MicroSpinLock.h
folly/PicoSpinLock.h

index b804a8a6dfd58b423dfd43940d2f7b638bb7e1f0..0453b35599ec3e526633171f386b6285d87679c8 100644 (file)
@@ -42,7 +42,6 @@
 #include <type_traits>
 #include <boost/noncopyable.hpp>
 #include <cstdlib>
-#include <pthread.h>
 #include <mutex>
 #include <atomic>
 
index 02d7bc924183f8f5d59facaff3062731ba821504..683858805e069fa6544511689ae0ef2fc8ed75d6 100644 (file)
@@ -44,7 +44,6 @@
 #include <cstdlib>
 #include <folly/Portability.h>
 #include <mutex>
-#include <pthread.h>
 #include <type_traits>
 
 #include <glog/logging.h>