pynsee icon indicating copy to clipboard operation
pynsee copied to clipboard

Enhancement/switch multiprocessing to multithreading

Open tgrandje opened this issue 5 months ago • 1 comments

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).

tgrandje avatar Aug 31 '24 18:08 tgrandje