File size: 244 Bytes
16a8ff1
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9

cdef extern from "Python.h":

    void PyEval_InitThreads()
        # Initialize and acquire the global interpreter lock.

    int PyEval_ThreadsInitialized()
        # Returns a non-zero value if PyEval_InitThreads() has been called.