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 steve.dower
Recipients paul.moore, ronaldoussoren, steve.dower, tim.golden, twoone3, zach.ware
Date 2021-02-25.23:18:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614295082.24.0.330725668327.issue43263@roundup.psfhosted.org>
In-reply-to
Content
Sorry, I can't help. My employer has strict rules about reviewing GPL code like that in your linked repository.

I'd suggest checking your thread management in native code. Each new thread created in Python will create a new native thread, and they're all trying to acquire the GIL, so make sure you release it. I have no idea how you are waiting for the threads to complete their work, but you'll need to release the GIL while waiting (and maybe periodically reacquire it to check).

In general, I find it's best to treat embedded CPython as running as a separate process, even if it's just in separate threads. If you try and mix arbitrary Python code into your own application, things like this happen all the time. Whereas if you are doing inter-thread communication as if there are no shared objects, you'll often be fine.
History
Date User Action Args
2021-02-25 23:18:02steve.dowersetrecipients: + steve.dower, paul.moore, ronaldoussoren, tim.golden, zach.ware, twoone3
2021-02-25 23:18:02steve.dowersetmessageid: <1614295082.24.0.330725668327.issue43263@roundup.psfhosted.org>
2021-02-25 23:18:02steve.dowerlinkissue43263 messages
2021-02-25 23:18:02steve.dowercreate