westonpace opened a new pull request #9684:
URL: https://github.com/apache/arrow/pull/9684


   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.
   
   Also, added a `GatingTask` utility which can be used to reduce the sleeps in 
a test and make them more reliable.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to