Message315092
Side note:
> 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.
True. The executor is obviously thread-safe internally (as it handles multiple worker threads). But the user should not /call/ it from multiple threads.
(most primitives exposed by the Python stdlib are not thread-safe, except for the simplest ones such as lists, dicts etc.) |
|
Date |
User |
Action |
Args |
2018-04-08 18:42:56 | pitrou | set | recipients:
+ pitrou, bquinlan, torsten, josh.r, Matt Spitz, tomMoral, dmacnet, iunknwn |
2018-04-08 18:42:56 | pitrou | set | messageid: <1523212976.59.0.682650639539.issue24882@psf.upfronthosting.co.za> |
2018-04-08 18:42:56 | pitrou | link | issue24882 messages |
2018-04-08 18:42:56 | pitrou | create | |
|