Python extension module with callbacks into Python

Paul Grinberg gri6507 at gmail.com
Wed Oct 28 11:18:48 EDT 2020


> Try calling PyEval_InitThreads() to force the python threading to be all setup. 

Can you please clarify where/when I should call PyEval_InitThreads()? Is this in the main python thread before any pthread callbacks are generated? If so, should this be done only once?


More information about the Python-list mailing list