Hi
If your purpose is merely not to block the reactor, you can run your
code in a separate thread by using deferToThread. If you want to benefit
from multi cores, you may consider use https://github.com/twisted/ampoule
or other similar tools.
Regards
gelin yan
Hi,
I tried posting on SO, but havent been able to solve the problem.
https://stackoverflow.com/questions/56696562/running-long-blocking-calculations-in-parallel-in-twisted
I have a very noob question.
I have a function, which takes a second or two to process (CPU bounded) and
then there is a fo
On 2019-06-22 14:05, Amber Brown wrote:
On 22/6/19 9:59 am, Kyle Altendorf wrote:
Hmm... I'm running Python inside a build to generate the matrix for
that build (with a yaml file for a pipeline). Now I'm curious what
matrixing is being used that isn't supported yet. But perhaps it
isn't