This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Matt Spitz, bquinlan, dmacnet, iunknwn, josh.r, pitrou, tomMoral, torsten
Date 2018-04-08.18:42:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523212976.59.0.682650639539.issue24882@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2018-04-08 18:42:56pitrousetrecipients: + pitrou, bquinlan, torsten, josh.r, Matt Spitz, tomMoral, dmacnet, iunknwn
2018-04-08 18:42:56pitrousetmessageid: <1523212976.59.0.682650639539.issue24882@psf.upfronthosting.co.za>
2018-04-08 18:42:56pitroulinkissue24882 messages
2018-04-08 18:42:56pitroucreate