Commits


mwish authored and GitHub committed 26b08a32467
GH-44811: [C++] minor optimize cancel and thread pool (#44812) ### Rationale for this change Minor code optimization for ThreadPool and cancel ### What changes are included in this PR? Minor code optimization for ThreadPool and cancel ### Are these changes tested? Covered by existing ### Are there any user-facing changes? no * GitHub Issue: #44811 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: mwish <maplewish117@gmail.com>