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

Move folly/LifoSem.h

Summary: [Folly] Move `folly/LifoSem.h` to `folly/synchronization/`.

Reviewed By: meyering

Differential Revision: D6245444

fbshipit-source-id: 14ffa012fa92b8c6aaf5900c930156894a492003
parent d6a27b28
......@@ -505,6 +505,7 @@ if (BUILD_TESTS)
DIRECTORY synchronization/test/
TEST call_once_test SOURCES CallOnceTest.cpp
TEST lifo_sem_test SOURCES LifoSemTests.cpp
DIRECTORY system/test/
TEST memory_mapping_test SOURCES MemoryMappingTest.cpp
......@@ -569,7 +570,6 @@ if (BUILD_TESTS)
SOURCES
JsonOtherTest.cpp
TEST lazy_test SOURCES LazyTest.cpp
TEST lifosem_test SOURCES LifoSemTests.cpp
TEST lock_traits_test SOURCES LockTraitsTest.cpp
TEST locks_test SOURCES SmallLocksTest.cpp SpinLockTest.cpp
TEST logging_test SOURCES LoggingTest.cpp
......
......@@ -317,7 +317,6 @@ nobase_follyinclude_HEADERS = \
lang/RValueReferenceWrapper.h \
lang/SafeAssert.h \
Lazy.h \
LifoSem.h \
Likely.h \
LockTraits.h \
LockTraitsBoost.h \
......@@ -424,6 +423,7 @@ nobase_follyinclude_HEADERS = \
stats/TimeseriesHistogram.h \
synchronization/AsymmetricMemoryBarrier.h \
synchronization/CallOnce.h \
synchronization/LifoSem.h \
synchronization/detail/AtomicUtils.h \
system/MemoryMapping.h \
system/Shell.h \
......@@ -533,7 +533,6 @@ libfolly_la_SOURCES = \
IPAddress.cpp \
IPAddressV4.cpp \
IPAddressV6.cpp \
LifoSem.cpp \
init/Init.cpp \
io/Cursor.cpp \
io/IOBuf.cpp \
......@@ -609,6 +608,7 @@ libfolly_la_SOURCES = \
stats/MultiLevelTimeSeries.cpp \
stats/TimeseriesHistogram.cpp \
synchronization/AsymmetricMemoryBarrier.cpp \
synchronization/LifoSem.cpp \
system/MemoryMapping.cpp \
system/Shell.cpp \
system/ThreadName.cpp \
......
......@@ -21,9 +21,9 @@
#include <mutex>
#include <queue>
#include <folly/LifoSem.h>
#include <folly/executors/DrivableExecutor.h>
#include <folly/executors/ScheduledExecutor.h>
#include <folly/synchronization/LifoSem.h>
namespace folly {
/// A ManualExecutor only does work when you turn the crank, by calling
......
......@@ -16,9 +16,9 @@
#pragma once
#include <folly/LifoSem.h>
#include <folly/MPMCQueue.h>
#include <folly/executors/task_queue/BlockingQueue.h>
#include <folly/synchronization/LifoSem.h>
namespace folly {
......
......@@ -17,9 +17,9 @@
#pragma once
#include <folly/Executor.h>
#include <folly/LifoSem.h>
#include <folly/MPMCQueue.h>
#include <folly/executors/task_queue/BlockingQueue.h>
#include <folly/synchronization/LifoSem.h>
namespace folly {
......
......@@ -16,9 +16,9 @@
#pragma once
#include <folly/LifoSem.h>
#include <folly/Synchronized.h>
#include <folly/executors/task_queue/BlockingQueue.h>
#include <folly/synchronization/LifoSem.h>
#include <queue>
namespace folly {
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <folly/LifoSem.h>
#include <folly/synchronization/LifoSem.h>
/// Raw node storage is preallocated in a contiguous memory segment,
/// but we use an anonymous mmap so the physical memory used (RSS) will
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <folly/LifoSem.h>
#include <folly/synchronization/LifoSem.h>
#include <thread>
......
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