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

Move GlobalThreadPoolList.h into folly/concurrency/

Summary:
[Folly] Move `GlobalThreadPoolList.h` into `folly/concurrency/`.

This seems like a better place than the top-level. It seems reasonable because this has *something* to do with concurrency. This is used by executors, but is not itself an executor, so it was not clear that it should go to `folly/executors/`, although that also seems like quite the reasonable choice.

Reviewed By: Orvid

Differential Revision: D5985142

fbshipit-source-id: 6117d133757af74023d6cffb838741da83d173bd
parent ff17894b
...@@ -59,6 +59,7 @@ nobase_follyinclude_HEADERS = \ ...@@ -59,6 +59,7 @@ nobase_follyinclude_HEADERS = \
concurrency/CacheLocality.h \ concurrency/CacheLocality.h \
concurrency/ConcurrentHashMap.h \ concurrency/ConcurrentHashMap.h \
concurrency/CoreCachedSharedPtr.h \ concurrency/CoreCachedSharedPtr.h \
concurrency/GlobalThreadPoolList.h \
concurrency/detail/ConcurrentHashMap-detail.h \ concurrency/detail/ConcurrentHashMap-detail.h \
ConstexprMath.h \ ConstexprMath.h \
detail/AtomicHashUtils.h \ detail/AtomicHashUtils.h \
...@@ -241,7 +242,6 @@ nobase_follyinclude_HEADERS = \ ...@@ -241,7 +242,6 @@ nobase_follyinclude_HEADERS = \
gen/ParallelMap-inl.h \ gen/ParallelMap-inl.h \
gen/String.h \ gen/String.h \
gen/String-inl.h \ gen/String-inl.h \
GlobalThreadPoolList.h \
GroupVarint.h \ GroupVarint.h \
Hash.h \ Hash.h \
IPAddress.h \ IPAddress.h \
...@@ -489,6 +489,7 @@ libfolly_la_SOURCES = \ ...@@ -489,6 +489,7 @@ libfolly_la_SOURCES = \
Checksum.cpp \ Checksum.cpp \
ClockGettimeWrappers.cpp \ ClockGettimeWrappers.cpp \
concurrency/CacheLocality.cpp \ concurrency/CacheLocality.cpp \
concurrency/GlobalThreadPoolList.cpp \
detail/Futex.cpp \ detail/Futex.cpp \
detail/IPAddress.cpp \ detail/IPAddress.cpp \
detail/StaticSingletonManager.cpp \ detail/StaticSingletonManager.cpp \
...@@ -515,7 +516,6 @@ libfolly_la_SOURCES = \ ...@@ -515,7 +516,6 @@ libfolly_la_SOURCES = \
executors/ThreadedExecutor.cpp \ executors/ThreadedExecutor.cpp \
experimental/hazptr/hazptr.cpp \ experimental/hazptr/hazptr.cpp \
experimental/hazptr/memory_resource.cpp \ experimental/hazptr/memory_resource.cpp \
GlobalThreadPoolList.cpp \
GroupVarint.cpp \ GroupVarint.cpp \
GroupVarintTables.cpp \ GroupVarintTables.cpp \
hash/SpookyHashV1.cpp \ hash/SpookyHashV1.cpp \
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include <folly/GlobalThreadPoolList.h> #include <folly/concurrency/GlobalThreadPoolList.h>
#include <memory> #include <memory>
#include <string> #include <string>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <folly/executors/ThreadPoolExecutor.h> #include <folly/executors/ThreadPoolExecutor.h>
#include <folly/GlobalThreadPoolList.h> #include <folly/concurrency/GlobalThreadPoolList.h>
namespace folly { namespace folly {
......
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
#pragma once #pragma once
#include <folly/Baton.h> #include <folly/Baton.h>
#include <folly/Executor.h> #include <folly/Executor.h>
#include <folly/GlobalThreadPoolList.h>
#include <folly/Memory.h> #include <folly/Memory.h>
#include <folly/RWSpinLock.h> #include <folly/RWSpinLock.h>
#include <folly/concurrency/GlobalThreadPoolList.h>
#include <folly/executors/LifoSemMPMCQueue.h> #include <folly/executors/LifoSemMPMCQueue.h>
#include <folly/executors/NamedThreadFactory.h> #include <folly/executors/NamedThreadFactory.h>
#include <folly/io/async/Request.h> #include <folly/io/async/Request.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