pynsee
pynsee copied to clipboard
Enhancement/switch multiprocessing to multithreading
This is a suggestion to switch from multiprocessing to multithreading for the geodata package:
- there are sometimes troubles using multiprocessing with windows machines, which are not easily debugged;
- as far as I have seen, there is not much interest for multiprocessing as no heavy computation is done, and (I think) we're perfectly safe with multithreading.
This needed to rewrite the creation of the session object, which is now created outside the pool scope (instead of global objects created at threads/processes creation).