Skip to content

Commit

Permalink
Rename filename to UniThreadPool to fix build on mac (#6960)
Browse files Browse the repository at this point in the history
ref #6827
  • Loading branch information
JaySon-Huang authored Mar 6, 2023
1 parent e511752 commit 9ba4947
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 1,554 deletions.
1 change: 0 additions & 1 deletion dbms/src/Common/ThreadFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <Common/MemoryTrackerSetter.h>
#include <Common/TiFlashMetrics.h>
#include <Common/setThreadName.h>
#include <common/ThreadPool.h>

#include <thread>

Expand Down
1 change: 1 addition & 0 deletions dbms/src/Common/ThreadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <Common/ThreadFactory.h>
#include <Common/ThreadManager.h>
#include <Common/wrapInvocable.h>
#include <common/ThreadPool.h>

namespace DB
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <Common/CurrentMetrics.h>
#include <Common/Exception.h>
#include <Common/ThreadPool.h>
#include <Common/UniThreadPool.h>
#include <Common/setThreadName.h>
#include <Poco/Util/Application.h>
#include <Poco/Util/LayeredConfiguration.h>
Expand Down Expand Up @@ -365,4 +365,4 @@ GlobalThreadPool & GlobalThreadPool::instance()

return *the_instance;
}
} // namespace DB
} // namespace DB
File renamed without changes.
12 changes: 0 additions & 12 deletions dbms/src/Common/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ target_link_libraries (hash_table tiflash_common_io)
add_executable (small_table small_table.cpp)
target_link_libraries (small_table tiflash_common_io)

add_executable (parallel_aggregation parallel_aggregation.cpp)
target_link_libraries (parallel_aggregation tiflash_common_io)

add_executable (parallel_aggregation2 parallel_aggregation2.cpp)
target_link_libraries (parallel_aggregation2 tiflash_common_io)

add_executable (int_hashes_perf int_hashes_perf.cpp AvalancheTest.cpp Random.cpp)
target_link_libraries (int_hashes_perf tiflash_common_io)

Expand All @@ -58,12 +52,6 @@ target_link_libraries (arena_with_free_lists tiflash_common_io)
add_executable (pod_array pod_array.cpp)
target_link_libraries (pod_array tiflash_common_io)

add_executable (thread_creation_latency thread_creation_latency.cpp)
target_link_libraries (thread_creation_latency tiflash_common_io)

add_executable (thread_pool thread_pool.cpp)
target_link_libraries (thread_pool tiflash_common_io)

add_executable (array_cache array_cache.cpp)
target_link_libraries (array_cache tiflash_common_io)

Expand Down
1 change: 0 additions & 1 deletion dbms/src/Common/tests/gtest_rw_lock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <Common/Stopwatch.h>
#include <Core/Types.h>
#include <IO/WriteHelpers.h>
#include <common/ThreadPool.h>
#include <gtest/gtest.h>

#include <atomic>
Expand Down
Loading

0 comments on commit 9ba4947

Please sign in to comment.