We are working on a multithreaded application. We have written an extension that enables us to execute C++ routines.
There's a C++ routine that takes between 5-10 seconds to complete. So when we call this routine from one of the python thread. Other threads, wait for its execution to complete. We have re-confirmed, that we are not locking in C++ routine.
Is this the expected behavior for python extensions to C++?
Please suggest what we can do to overcome this.