All python thread(in CPython) are under GIL.
What if the thread is created by ctypes
?
For example, python just calls the below function through C Library
and the function create a thread in C
area not python.
#include<thread>
int createUnitTestThread(int sasAddr){
sasEngine->thread = new std::thread(....);
return 0;
}
Is it the same or not ?