I am developing a C++ so lib for Python use. In Python code, the handle of the lib is shared between multi processes (maybe via multiprocessing
) and called. My question is:
- From the perspective of my lib, can being called from different processes be viewed as multi threading?
- If so, what thread is using by Python, is
pthread
or sth? Can I configure it? - If not, what is really happening behind it.
Thanks in advance.