python-firebase icon indicating copy to clipboard operation
python-firebase copied to clipboard

ThreadPool instead of multiprocessing.Pool

Open julkiewicz opened this issue 11 years ago • 0 comments

Would there be any problems with using ThreadPool instead of multiprocessing.Pool in the library?

I created a patch that performs the switch however I would like to understand whether this change doesn't cause any thread-safety problems. From what I can see requests library is thread-safe. Are there any shared resources between different "jobs" executed inside the pool?

julkiewicz avatar Nov 10 '14 21:11 julkiewicz