Since PyEval_InitThreads() hasn't been called, PyEval_ThreadsInitialized() won't return True. Calling PyEval_InitThreads() shouldn't be call if not needed, indeed as mention in the documentation calling this function initialize and acquire the global interpreter lock which cause an unnecessary overhead.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|