apache / apache/arrow

[C++] Support FnOnce in ThreadPool::Submit

Open
#33,944 1 comment 0 reactions 1 assignee Claimed by @westonpace View on GitHub
Component: C++ Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 18h
Merged PRs (30d)
91

Description

### Describe the enhancement requested

I'd like to use FnOnce for the async task scheduler stuff in the query context. However, there is currently a call to std::bind in ThreadPool::Submit that forces a copy.

### Component(s)

C++

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.