pythread.h File Reference

Classes

struct  _Py_tss_t
 

Macros

#define PYTHREAD_INVALID_THREAD_ID
 
#define WAIT_LOCK
 
#define NOWAIT_LOCK
 
#define PY_TIMEOUT_T
 
#define PY_TIMEOUT_MAX
 
#define Py_tss_NEEDS_INIT
 

Typedefs

typedef void * PyThread_type_lock
 
typedef enum PyLockStatus PyLockStatus
 
typedef struct _Py_tss_t Py_tss_t
 

Enumerations

enum  PyLockStatus {
  PY_LOCK_FAILURE ,
  PY_LOCK_ACQUIRED ,
  PY_LOCK_INTR
}
 

Functions

 PyAPI_FUNC (void) PyThread_init_thread(void)
 
 PyAPI_FUNC (unsigned long) PyThread_start_new_thread(void(*)(void *)
 
 PyAPI_FUNC (PyThread_type_lock) PyThread_allocate_lock(void)
 
 PyAPI_FUNC (int) PyThread_acquire_lock(PyThread_type_lock
 
 PyAPI_FUNC (PyLockStatus) PyThread_acquire_lock_timed(PyThread_type_lock
 
 PyAPI_FUNC (size_t) PyThread_get_stacksize(void)
 
 PyAPI_FUNC (PyObject *) PyThread_GetInfo(void)
 
 Py_DEPRECATED (3.7) PyAPI_FUNC(int) PyThread_create_key(void)
 
 PyAPI_FUNC (Py_tss_t *) PyThread_tss_alloc(void)
 

Variables

 int
 
long long microseconds
 
long long int intr_flag
 
void * value
 

Macro Definition Documentation

◆ PYTHREAD_INVALID_THREAD_ID

#define PYTHREAD_INVALID_THREAD_ID

◆ WAIT_LOCK

#define WAIT_LOCK

◆ NOWAIT_LOCK

#define NOWAIT_LOCK

◆ PY_TIMEOUT_T

#define PY_TIMEOUT_T

◆ PY_TIMEOUT_MAX

#define PY_TIMEOUT_MAX

◆ Py_tss_NEEDS_INIT

#define Py_tss_NEEDS_INIT

Typedef Documentation

◆ PyThread_type_lock

typedef void* PyThread_type_lock

◆ PyLockStatus

typedef enum PyLockStatus PyLockStatus

◆ Py_tss_t

typedef struct _Py_tss_t Py_tss_t

Enumeration Type Documentation

◆ PyLockStatus

Enumerator
PY_LOCK_FAILURE 
PY_LOCK_ACQUIRED 
PY_LOCK_INTR 

Function Documentation

◆ PyAPI_FUNC() [1/8]

PyAPI_FUNC ( void  )

◆ PyAPI_FUNC() [2/8]

PyAPI_FUNC ( unsigned long  )

◆ PyAPI_FUNC() [3/8]

PyAPI_FUNC ( PyThread_type_lock  )

◆ PyAPI_FUNC() [4/8]

PyAPI_FUNC ( int  )

◆ PyAPI_FUNC() [5/8]

PyAPI_FUNC ( PyLockStatus  )

◆ PyAPI_FUNC() [6/8]

PyAPI_FUNC ( size_t  )

◆ PyAPI_FUNC() [7/8]

PyAPI_FUNC ( PyObject )

◆ Py_DEPRECATED()

Py_DEPRECATED ( 3.  7)

◆ PyAPI_FUNC() [8/8]

PyAPI_FUNC ( Py_tss_t )

Variable Documentation

◆ int

int

◆ microseconds

long long microseconds

◆ intr_flag

long long int intr_flag

◆ value

void* value