You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2021/06/17 22:13:00 UTC
[jira] [Created] (ARROW-13109) [C++] Allow producers to require
callbacks are scheduled on a new thread
Weston Pace created ARROW-13109:
-----------------------------------
Summary: [C++] Allow producers to require callbacks are scheduled on a new thread
Key: ARROW-13109
URL: https://issues.apache.org/jira/browse/ARROW-13109
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Weston Pace
Right now the BackgroundGenerator (async_generator.h) can deadlock if the user does not transfer onto a new thread task. It's also typically a good idea to keep the background generator iterating the input as fast as possible.
If the background generator could create a promise that required callbacks to run on a new thread it would prevent callers from having to remember to do so.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)