Closed
Description
Are there any plans to support multi-threading with PythonCall.jl
in the near future? Almost everything about this package is superior to PyCall.jl
except for thread safety.
Specifically, it would be great (and in my case - is essential) to be able to call python functions on many threads in parallel. This is useful when a core routine is written in python and needs to be called many time independently.
For example, some environments in ReinforcementLearning.jl
rely on the python bindings to MuJoCo. Evaluating these environments efficiently requires multi-threading (eg: this implementation with PyCall.jl
), which is currently impossible in PythonCall
.
Is this something you would consider supporting in the near future?