Using PythonKit in multi-threaded app crashes app

195 Views Asked by At

For several reasons it is required to call the python functions from parallel threads, currently PythonKit library is being used for that. While one python module is running and if I try to execute the other module from other thread than it is giving EXC_BAD_ACCESS error. this error from internal code of PythonKit.

Please guide me if I am missing something. As the error is from internal code I am pasting a screenshot.enter image description here

0

There are 0 best solutions below