Commit e50d7df4 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

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
parent 9fbe3ea2
...@@ -80,7 +80,6 @@ nobase_follyinclude_HEADERS = \ ...@@ -80,7 +80,6 @@ nobase_follyinclude_HEADERS = \
detail/PolyDetail.h \ detail/PolyDetail.h \
detail/RangeCommon.h \ detail/RangeCommon.h \
detail/RangeSse42.h \ detail/RangeSse42.h \
detail/Sleeper.h \
detail/SlowFingerprint.h \ detail/SlowFingerprint.h \
detail/SocketFastOpen.h \ detail/SocketFastOpen.h \
detail/StaticSingletonManager.h \ detail/StaticSingletonManager.h \
...@@ -440,6 +439,7 @@ nobase_follyinclude_HEADERS = \ ...@@ -440,6 +439,7 @@ nobase_follyinclude_HEADERS = \
synchronization/CallOnce.h \ synchronization/CallOnce.h \
synchronization/LifoSem.h \ synchronization/LifoSem.h \
synchronization/detail/AtomicUtils.h \ synchronization/detail/AtomicUtils.h \
synchronization/detail/Sleeper.h \
system/MemoryMapping.h \ system/MemoryMapping.h \
system/Shell.h \ system/Shell.h \
system/ThreadId.h \ system/ThreadId.h \
......
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
#include <type_traits> #include <type_traits>
#include <folly/Portability.h> #include <folly/Portability.h>
#include <folly/detail/Sleeper.h>
#include <folly/lang/Align.h> #include <folly/lang/Align.h>
#include <folly/synchronization/detail/Sleeper.h>
namespace folly { namespace folly {
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#include <glog/logging.h> #include <glog/logging.h>
#include <folly/Portability.h> #include <folly/Portability.h>
#include <folly/detail/Sleeper.h> #include <folly/synchronization/detail/Sleeper.h>
#if !FOLLY_X64 && !FOLLY_AARCH64 && !FOLLY_PPC64 #if !FOLLY_X64 && !FOLLY_AARCH64 && !FOLLY_PPC64
#error "PicoSpinLock.h is currently x64, aarch64 and ppc64 only." #error "PicoSpinLock.h is currently x64, aarch64 and ppc64 only."
......
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