python-2.7.6/include/pythread.h File Reference

pythread.h File Reference

Macros

#define WAIT_LOCK   1
 
#define NOWAIT_LOCK   0
 

Typedefs

typedef void * PyThread_type_lock
 
typedef void * PyThread_type_sema
 

Functions

 PyAPI_FUNC (void) PyThread_init_thread(void)
 
 PyAPI_FUNC (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 (size_t) PyThread_get_stacksize(void)
 

Variables

 int
 

Macro Definition Documentation

#define NOWAIT_LOCK   0

Definition at line 21 of file pythread.h.

#define WAIT_LOCK   1

Definition at line 20 of file pythread.h.

Typedef Documentation

typedef void* PyThread_type_lock

Definition at line 5 of file pythread.h.

typedef void* PyThread_type_sema

Definition at line 6 of file pythread.h.

Function Documentation

PyAPI_FUNC ( void  )
PyAPI_FUNC ( long  )
PyAPI_FUNC ( PyThread_type_lock  )
PyAPI_FUNC ( int  )
PyAPI_FUNC ( size_t  )

Variable Documentation

int

Definition at line 19 of file pythread.h.

Go to the source code of this file.