Relative Content

Tag Archive for pythonparallel-processingmultiprocessinglocking

Share lock between Python processes in other file

I am trying to use the multiprocessing map function to execute a function over my list. However in this function I do some API calls which can not be executed at the same time since it will overload the API. However my code is spread out over multiple files since it is quite long.