Message315007
I've submitted a PR that should resolve this - it uses a simple atomic counter to ensure new threads are not created if existing threads are idle.
One concern I do have - while writing the patch, I noticed the existing submit method (specifically the adjust_thread_count function) isn't thread safe. I've added more details in the PR. |
|
Date |
User |
Action |
Args |
2018-04-05 22:45:50 | iunknwn | set | recipients:
+ iunknwn, torsten, josh.r, Matt Spitz, dmacnet |
2018-04-05 22:45:50 | iunknwn | set | messageid: <1522968350.79.0.682650639539.issue24882@psf.upfronthosting.co.za> |
2018-04-05 22:45:50 | iunknwn | link | issue24882 messages |
2018-04-05 22:45:50 | iunknwn | create | |
|