Problems with imports on multiple threads, with embedded Python

geoff.bache at gmail.com geoff.bache at gmail.com
Thu Dec 21 09:41:46 EST 2017


On Thursday, 21 December 2017 00:33:54 UTC+1, Lawrence D’Oliveiro  wrote:
> On Thursday, December 21, 2017 at 5:13:33 AM UTC+13, geoff... at gmail.com wrote:
> > 
> > I have a multithreaded application using an embedded Python 3.6.4 ...
> 
> Avoid multithreading if you can. Is your application CPU-bound? If not, you are getting no benefit from it.

Unfortunately that's not an option. As I say, Python is embedded and is only a part of what the application does. The multithreading is not there for the Python part but is a well-established fact in the application.



More information about the Python-list mailing list