This is an automated email from the ASF dual-hosted git repository.
zhouyuan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 2dcee79e31 [VL] Fix segfault on thread pool destruction (#12286)
2dcee79e31 is described below
commit 2dcee79e3105607bbc83af4e98e08531dc3fce59
Author: Rong Ma <[email protected]>
AuthorDate: Fri Jun 12 16:50:38 2026 +0100
[VL] Fix segfault on thread pool destruction (#12286)
---
cpp/velox/compute/VeloxBackend.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpp/velox/compute/VeloxBackend.cc
b/cpp/velox/compute/VeloxBackend.cc
index 816aba7c99..c95cbfc5b7 100644
--- a/cpp/velox/compute/VeloxBackend.cc
+++ b/cpp/velox/compute/VeloxBackend.cc
@@ -195,8 +195,8 @@ void VeloxBackend::init(
ioThreads >= 0,
kVeloxIOThreads + " was set to negative number " +
std::to_string(ioThreads) + ", this should not happen.");
if (ioThreads > 0) {
- ioExecutor_ = std::make_unique<folly::CPUThreadPoolExecutor>(
- ioThreads,
std::make_unique<folly::UnboundedBlockingQueue<folly::CPUThreadPoolExecutor::CPUTask>>());
+ ioExecutor_ =
+ std::make_unique<folly::CPUThreadPoolExecutor>(ioThreads,
folly::CPUThreadPoolExecutor::makeLifoSemQueue());
}
initJolFilesystem();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]