3 ms·
Please remember that threads are not the only way. If you can simply break your function/routine into a smaller piece that is independent, you can easy get by w
by esaym 10y ago
Please remember that threads are not the only way. If you can simply break your function/routine into a smaller piece that is independent, you can easy get by with a fork. (well, unless you are on windows..)
- hermitdev 10y agoBeen a since I tried to use the multiprocessing module. But, last time I did try, I ran into issues with it interacting poorly with pyodbc. It's been years, so I don't recall what the problem was, but I spent a few days trying to resolve or work around the issue with no satisfaction. Also, most of my Python scripts run on both Linux and Windows, so I have that restriction, as well.