Commit 18172db6 authored by James Sedgwick's avatar James Sedgwick Committed by Facebook Github Bot

move CallOnce to synchronization/

Summary: as above

Reviewed By: knekritz

Differential Revision: D6088687

fbshipit-source-id: 0efbb7f5fa33b5f553c0c2019658370fc6e8613f
parent 084ff8d9
......@@ -475,6 +475,9 @@ if (BUILD_TESTS)
TEST timeseries_histogram_test SOURCES TimeseriesHistogramTest.cpp
TEST timeseries_test SOURCES TimeseriesTest.cpp
DIRECTORY synchronization/test/
TEST call_once_test SOURCES CallOnceTest.cpp
DIRECTORY test/
TEST ahm_int_stress_test SOURCES AHMIntStressTest.cpp
TEST arena_test SOURCES ArenaTest.cpp
......@@ -492,7 +495,6 @@ if (BUILD_TESTS)
TEST bit_iterator_test SOURCES BitIteratorTest.cpp
TEST bits_test SOURCES BitsTest.cpp
TEST cacheline_padded_test SOURCES CachelinePaddedTest.cpp
TEST call_once_test SOURCES CallOnceTest.cpp
TEST checksum_test SOURCES ChecksumTest.cpp
TEST clock_gettime_wrappers_test SOURCES ClockGettimeWrappersTest.cpp
TEST concurrent_skip_list_test SOURCES ConcurrentSkipListTest.cpp
......
......@@ -44,7 +44,6 @@ nobase_follyinclude_HEADERS = \
Benchmark.h \
Bits.h \
CachelinePadded.h \
CallOnce.h \
Chrono.h \
ClockGettimeWrappers.h \
ConcurrentSkipList.h \
......@@ -419,6 +418,7 @@ nobase_follyinclude_HEADERS = \
stats/MultiLevelTimeSeries.h \
stats/TimeseriesHistogram-defs.h \
stats/TimeseriesHistogram.h \
synchronization/CallOnce.h \
stop_watch.h \
String.h \
String-inl.h \
......
......@@ -21,13 +21,13 @@
#include <mutex>
#include <random>
#include <folly/CallOnce.h>
#include <folly/File.h>
#include <folly/FileUtil.h>
#include <folly/SingletonThreadLocal.h>
#include <folly/ThreadLocal.h>
#include <folly/portability/SysTime.h>
#include <folly/portability/Unistd.h>
#include <folly/synchronization/CallOnce.h>
#include <glog/logging.h>
#ifdef _MSC_VER
......
......@@ -35,7 +35,6 @@
#include <boost/utility.hpp>
#include <glog/logging.h>
#include <folly/CallOnce.h>
#include <folly/Executor.h>
#include <folly/Function.h>
#include <folly/Portability.h>
......@@ -47,6 +46,7 @@
#include <folly/io/async/Request.h>
#include <folly/io/async/TimeoutManager.h>
#include <folly/portability/Event.h>
#include <folly/synchronization/CallOnce.h>
namespace folly {
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <folly/CallOnce.h>
#include <folly/synchronization/CallOnce.h>
#include <deque>
#include <mutex>
......
......@@ -18,9 +18,9 @@
#include <mutex>
#include <thread>
#include <folly/CallOnce.h>
#include <folly/portability/GFlags.h>
#include <folly/portability/GTest.h>
#include <folly/synchronization/CallOnce.h>
#include <glog/logging.h>
......
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