deimos.python.pythread

Mirror pythread.h

Members

Aliases

NATIVE_TSS_KEY_T
alias NATIVE_TSS_KEY_T = pthread_key_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NATIVE_TSS_KEY_T
alias NATIVE_TSS_KEY_T = C_ulong
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PY_TIMEOUT_T
alias PY_TIMEOUT_T = C_long

PY_TIMEOUT_T is the integral type used to specify timeouts when waiting on a lock (see PyThread_acquire_lock_timed() below). PY_TIMEOUT_MAX is the highest usable value (in microseconds) of that type, and depends on the system threading API.

PyThread_type_lock
alias PyThread_type_lock = void*

_

PyThread_type_sema
alias PyThread_type_sema = void*

_

Enums

PyLockStatus
enum PyLockStatus

Return status codes for Python lock acquisition. Chosen for maximum Availability: >= 3.2 * backwards compatibility, ie failure -> 0, success -> 1.

Functions

PyThread_ReInitTLS
void PyThread_ReInitTLS()

Availability: >= 2.5

PyThread__PyThread_exit_prog
void PyThread__PyThread_exit_prog(int )

_

PyThread__PyThread_exit_thread
void PyThread__PyThread_exit_thread()

_

PyThread_acquire_lock
int PyThread_acquire_lock(PyThread_type_lock , int )

_

PyThread_acquire_lock_timed
PyLockStatus PyThread_acquire_lock_timed(PyThread_type_lock , PY_TIMEOUT_T microseconds, int intr_flag)

Availability: >= 3.2

PyThread_allocate_lock
PyThread_type_lock PyThread_allocate_lock()

_

PyThread_create_key
int PyThread_create_key()

_

PyThread_delete_key
void PyThread_delete_key(int )

_

PyThread_delete_key_value
void PyThread_delete_key_value(int key)

_

PyThread_exit_prog
void PyThread_exit_prog(int )

_

PyThread_exit_thread
void PyThread_exit_thread()

_

PyThread_free_lock
void PyThread_free_lock(PyThread_type_lock )

_

PyThread_get_key_value
void* PyThread_get_key_value(int )

_

PyThread_get_stacksize
size_t PyThread_get_stacksize()

Availability: >= 2.5

PyThread_get_thread_ident
C_ulong PyThread_get_thread_ident()

_

PyThread_get_thread_ident
C_long PyThread_get_thread_ident()

_

PyThread_init_thread
void PyThread_init_thread()

_

PyThread_release_lock
void PyThread_release_lock(PyThread_type_lock )

_

PyThread_set_key_value
int PyThread_set_key_value(int , void* )

_

PyThread_set_stacksize
int PyThread_set_stacksize(size_t )

Availability: >= 2.5

PyThread_start_new_thread
C_ulong PyThread_start_new_thread(void function(void*) , void* )

_

PyThread_start_new_thread
C_long PyThread_start_new_thread(void function(void*) , void* )

_

PyThread_tss_alloc
Py_tss_t* PyThread_tss_alloc()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyThread_tss_create
int PyThread_tss_create(Py_tss_t* key)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyThread_tss_delete
void PyThread_tss_delete(Py_tss_t* key)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyThread_tss_free
void PyThread_tss_free(Py_tss_t* key)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyThread_tss_get
void* PyThread_tss_get(Py_tss_t* key)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyThread_tss_is_created
int PyThread_tss_is_created(Py_tss_t* key)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
PyThread_tss_set
int PyThread_tss_set(Py_tss_t* key, void* value)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

NOWAIT_LOCK
enum NOWAIT_LOCK;

_

PYTHREAD_INVALID_THREAD_ID
enum PYTHREAD_INVALID_THREAD_ID;

_

Py_tss_NEEDS_INIT
enum Py_tss_NEEDS_INIT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
WAIT_LOCK
enum WAIT_LOCK;

_

Structs

Py_tss_t
struct Py_tss_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta