From e50d7df41cf5371584281bbf4208fd8c54bbf7f5 Mon Sep 17 00:00:00 2001 From: Yedidya Feldblum Date: Tue, 26 Dec 2017 10:57:54 -0800 Subject: [PATCH] Move folly/detail/Sleeper.h to folly/synchronization/detail/ Summary: [Folly] Move `folly/detail/Sleeper.h` to `folly/synchronization/detail/`. Reviewed By: Orvid Differential Revision: D6636459 fbshipit-source-id: e0b37459fe721c96837b653e652c1bc6bfeb5dce --- folly/Makefile.am | 2 +- folly/MicroSpinLock.h | 2 +- folly/PicoSpinLock.h | 2 +- folly/{ => synchronization}/detail/Sleeper.h | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename folly/{ => synchronization}/detail/Sleeper.h (100%) diff --git a/folly/Makefile.am b/folly/Makefile.am index ec1e2e67..19f31af4 100644 --- a/folly/Makefile.am +++ b/folly/Makefile.am @@ -80,7 +80,6 @@ nobase_follyinclude_HEADERS = \ detail/PolyDetail.h \ detail/RangeCommon.h \ detail/RangeSse42.h \ - detail/Sleeper.h \ detail/SlowFingerprint.h \ detail/SocketFastOpen.h \ detail/StaticSingletonManager.h \ @@ -440,6 +439,7 @@ nobase_follyinclude_HEADERS = \ synchronization/CallOnce.h \ synchronization/LifoSem.h \ synchronization/detail/AtomicUtils.h \ + synchronization/detail/Sleeper.h \ system/MemoryMapping.h \ system/Shell.h \ system/ThreadId.h \ diff --git a/folly/MicroSpinLock.h b/folly/MicroSpinLock.h index dab80c67..8996f8c3 100644 --- a/folly/MicroSpinLock.h +++ b/folly/MicroSpinLock.h @@ -45,8 +45,8 @@ #include #include -#include #include +#include namespace folly { diff --git a/folly/PicoSpinLock.h b/folly/PicoSpinLock.h index d9bdf50c..eb62bee2 100644 --- a/folly/PicoSpinLock.h +++ b/folly/PicoSpinLock.h @@ -48,7 +48,7 @@ #include #include -#include +#include #if !FOLLY_X64 && !FOLLY_AARCH64 && !FOLLY_PPC64 #error "PicoSpinLock.h is currently x64, aarch64 and ppc64 only." diff --git a/folly/detail/Sleeper.h b/folly/synchronization/detail/Sleeper.h similarity index 100% rename from folly/detail/Sleeper.h rename to folly/synchronization/detail/Sleeper.h -- 2.34.1