Back to index

python3.2  3.2.2
Defines | Typedefs | Enumerations | Functions | Variables
pythread.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define WAIT_LOCK   1
#define NOWAIT_LOCK   0
#define PY_TIMEOUT_T   long
#define PY_TIMEOUT_MAX   LONG_MAX

Typedefs

typedef voidPyThread_type_lock
typedef voidPyThread_type_sema
typedef enum PyLockStatus PyLockStatus

Enumerations

enum  PyLockStatus { PY_LOCK_FAILURE = 0, PY_LOCK_ACQUIRED = 1, PY_LOCK_INTR }

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 (PyLockStatus) PyThread_acquire_lock_timed(PyThread_type_lock
 PyAPI_FUNC (size_t) PyThread_get_stacksize(void)

Variables

 int
PY_TIMEOUT_T microseconds
PY_TIMEOUT_T int intr_flag

Define Documentation

#define NOWAIT_LOCK   0

Definition at line 29 of file pythread.h.

#define PY_TIMEOUT_MAX   LONG_MAX

Definition at line 45 of file pythread.h.

#define PY_TIMEOUT_T   long

Definition at line 44 of file pythread.h.

#define WAIT_LOCK   1

Definition at line 28 of file pythread.h.


Typedef Documentation

typedef enum PyLockStatus PyLockStatus

Definition at line 5 of file pythread.h.

Definition at line 6 of file pythread.h.


Enumeration Type Documentation

Enumerator:
PY_LOCK_FAILURE 
PY_LOCK_ACQUIRED 
PY_LOCK_INTR 

Definition at line 14 of file pythread.h.


Function Documentation

Definition at line 1904 of file object.c.

PyAPI_FUNC ( int  )

Definition at line 2410 of file pythonrun.c.


Variable Documentation

int

Definition at line 27 of file pythread.h.

Definition at line 69 of file pythread.h.

Definition at line 69 of file pythread.h.