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/03/12 02:28:00 UTC
[jira] [Created] (ARROW-11942) [C++] If tasks are submitted quickly
the thread pool may fail to spin up new threads
Weston Pace created ARROW-11942:
-----------------------------------
Summary: [C++] If tasks are submitted quickly the thread pool may fail to spin up new threads
Key: ARROW-11942
URL: https://issues.apache.org/jira/browse/ARROW-11942
Project: Apache Arrow
Issue Type: Bug
Components: C++
Reporter: Weston Pace
Assignee: Weston Pace
Probably only really affects unit tests. Consider an idle thread pool with 1 thread (ready_count_ == 1). If `Spawn` is called very quickly it may look like `ready_count_` is still greater than 0 (because `ready_count_` doesn't necessarily decrement by the time `Spawn` returns) and so it will not spin up new threads.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)