Hi,
i have improved a tool that connects to the assets server and downloads sequentially all the necessary so the artist can start his task. This is in Maya and running mayapy.exe in windows.
the improvement consists of running multiple download threads instead of just one in the background.
Reading about the GIL in the python interpreter, i learnt that the GIL prevents python code to run more than one thread simultaneously. That apparently, it executes a fixed amount of bytecode of each thread then releases the lock and lets the next thread acquire it.
So my question is: my download manager works faster in multithreaded mode, but because of the GIL, it runs slower than it actually could… does the MAYAPY interpreter rely also in the GIL? Is there a way to disable the GIL?
thanks.