mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Adds a ThreadPool and a thread-safe ConcurrentQueue.
This is in preparation for adding support for a C++11 based parallel for implementation. The code is behind CERES_USE_CXX11_THREADS which is not exposed to the user yet. Tested by building with and without CERES_USE_CXX11_THREADS defined and the tests pass. Change-Id: I60f5730fa055feeb0ee0fa6c980633aebd8d87b4
This commit is contained in:
@@ -113,6 +113,7 @@ CERES_SRCS = ["internal/ceres/" + filename for filename in [
|
||||
"stringprintf.cc",
|
||||
"subset_preconditioner.cc",
|
||||
"suitesparse.cc",
|
||||
"thread_pool.cc",
|
||||
"thread_token_provider.cc",
|
||||
"triplet_sparse_matrix.cc",
|
||||
"trust_region_minimizer.cc",
|
||||
|
||||
Reference in New Issue
Block a user