Revert "Name the thread pools (#8137)" (#8379)

This reverts commit 96876d9e7ef6baf9d11541454b5f4d22b092de77.
This commit is contained in:
Edward Z. Yang
2018-06-12 11:51:32 -04:00
committed by GitHub
parent 96876d9e7e
commit cc8fbc9d08
5 changed files with 5 additions and 42 deletions

View File

@ -19,12 +19,12 @@ class WorkersPool;
constexpr size_t kCacheLineSize = 64;
// A threadpool with the given number of threads.
// A work-stealing threadpool with the given number of threads.
// NOTE: the kCacheLineSize alignment is present only for cache
// performance, and is not strictly enforced (for example, when
// the object is created on the heap). Thus, in order to avoid
// misaligned intrinsics, no SSE instructions shall be involved in
// the ThreadPool implementation.
// the ThreadPool implemetation.
class alignas(kCacheLineSize) ThreadPool {
public:
static std::unique_ptr<ThreadPool> defaultThreadPool();