Home
last modified time | relevance | path

Searched refs:Py_tss_t (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Include/
Dpythread.h109 typedef struct _Py_tss_t Py_tss_t; /* opaque */ typedef
140 PyAPI_FUNC(Py_tss_t *) PyThread_tss_alloc(void);
141 PyAPI_FUNC(void) PyThread_tss_free(Py_tss_t *key);
144 PyAPI_FUNC(int) PyThread_tss_is_created(Py_tss_t *key);
145 PyAPI_FUNC(int) PyThread_tss_create(Py_tss_t *key);
146 PyAPI_FUNC(void) PyThread_tss_delete(Py_tss_t *key);
147 PyAPI_FUNC(int) PyThread_tss_set(Py_tss_t *key, void *value);
148 PyAPI_FUNC(void *) PyThread_tss_get(Py_tss_t *key);
/external/python/cpython3/Python/
Dthread.c119 Py_tss_t *
122 Py_tss_t *new_key = (Py_tss_t *)PyMem_RawMalloc(sizeof(Py_tss_t)); in PyThread_tss_alloc()
131 PyThread_tss_free(Py_tss_t *key) in PyThread_tss_free()
140 PyThread_tss_is_created(Py_tss_t *key) in PyThread_tss_is_created()
Dthread_nt.h421 PyThread_tss_create(Py_tss_t *key) in PyThread_tss_create()
440 PyThread_tss_delete(Py_tss_t *key) in PyThread_tss_delete()
454 PyThread_tss_set(Py_tss_t *key, void *value) in PyThread_tss_set()
462 PyThread_tss_get(Py_tss_t *key) in PyThread_tss_get()
Dthread_pthread.h742 PyThread_tss_create(Py_tss_t *key) in PyThread_tss_create()
759 PyThread_tss_delete(Py_tss_t *key) in PyThread_tss_delete()
773 PyThread_tss_set(Py_tss_t *key, void *value) in PyThread_tss_set()
781 PyThread_tss_get(Py_tss_t *key) in PyThread_tss_get()
Dpystate.c50 Py_tss_t initial = Py_tss_NEEDS_INIT; in _PyRuntimeState_Init_impl()
/external/python/cpython3/Include/internal/
Dpystate.h29 Py_tss_t autoTSSkey;
/external/python/cpython3/Doc/c-api/
Dinit.rst1435 CPython interpreter. This API uses a new type :c:type:`Py_tss_t` instead of
1443 .. c:type:: Py_tss_t
1456 This macro expands to the initializer for :c:type:`Py_tss_t` variables.
1463 Dynamic allocation of the :c:type:`Py_tss_t`, required in extension modules
1468 .. c:function:: Py_tss_t* PyThread_tss_alloc()
1475 .. c:function:: void PyThread_tss_free(Py_tss_t *key)
1492 undefined if the given :c:type:`Py_tss_t` has not been initialized by
1496 .. c:function:: int PyThread_tss_is_created(Py_tss_t *key)
1498 Return a non-zero value if the given :c:type:`Py_tss_t` has been initialized
1502 .. c:function:: int PyThread_tss_create(Py_tss_t *key)
[all …]
/external/python/cpython3/Doc/data/
Drefcounts.dat2180 PyThread_tss_alloc:Py_tss_t*:::
2183 PyThread_tss_create:Py_tss_t*:key::
2186 PyThread_tss_delete:Py_tss_t*:key::
2189 PyThread_tss_free:Py_tss_t*:key::
2192 PyThread_tss_get:Py_tss_t*:key::
2195 PyThread_tss_is_created:Py_tss_t*:key::
2198 PyThread_tss_set:Py_tss_t*:key::
/external/python/cpython3/Modules/
D_tracemalloc.c170 static Py_tss_t tracemalloc_reentrant_key = Py_tss_NEEDS_INIT;
D_testcapimodule.c4495 Py_tss_t tss_key = Py_tss_NEEDS_INIT; in test_pythread_tss_key_state()
4531 Py_tss_t *ptr_key = PyThread_tss_alloc(); in test_pythread_tss_key_state()
/external/python/cpython3/Doc/whatsnew/
D3.7.rst299 API. The TSS API uses a new type :c:type:`Py_tss_t` instead of :c:type:`int`