mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
Export ThreadPool and CPUThreadPool()
This commit is contained in:
1 parent
6985afe60a
commit
d4eb8d47c8
1 file changed
+2
-2
@@ -64,7 +64,7 @@ struct packaged_task_wrapper {
|
||||
|
||||
} // namespace detail
|
||||
|
||||
class ThreadPool {
|
||||
class ARROW_EXPORT ThreadPool {
|
||||
public:
|
||||
// Construct a thread pool with the given number of worker threads
|
||||
static Status Make(size_t threads, std::shared_ptr<ThreadPool>* out);
|
||||
@@ -154,7 +154,7 @@ class ThreadPool {
|
||||
};
|
||||
|
||||
// Return the process-global thread pool for CPU-bound tasks.
|
||||
ThreadPool* CPUThreadPool();
|
||||
ARROW_EXPORT ThreadPool* CPUThreadPool();
|
||||
|
||||
} // namespace internal
|
||||
} // namespace arrow
|
||||
|
||||
Reference in new issue
Block a user