Searched refs:Py_tss_t (Results 1 – 14 of 14) sorted by relevance
123 typedef struct _Py_tss_t Py_tss_t; /* opaque */ typedef154 PyAPI_FUNC(Py_tss_t *) PyThread_tss_alloc(void);155 PyAPI_FUNC(void) PyThread_tss_free(Py_tss_t *key);158 PyAPI_FUNC(int) PyThread_tss_is_created(Py_tss_t *key);159 PyAPI_FUNC(int) PyThread_tss_create(Py_tss_t *key);160 PyAPI_FUNC(void) PyThread_tss_delete(Py_tss_t *key);161 PyAPI_FUNC(int) PyThread_tss_set(Py_tss_t *key, void *value);162 PyAPI_FUNC(void *) PyThread_tss_get(Py_tss_t *key);
140 Py_tss_t *143 Py_tss_t *new_key = (Py_tss_t *)PyMem_RawMalloc(sizeof(Py_tss_t)); in PyThread_tss_alloc()152 PyThread_tss_free(Py_tss_t *key) in PyThread_tss_free()161 PyThread_tss_is_created(Py_tss_t *key) in PyThread_tss_is_created()
451 PyThread_tss_create(Py_tss_t *key) in PyThread_tss_create()470 PyThread_tss_delete(Py_tss_t *key) in PyThread_tss_delete()484 PyThread_tss_set(Py_tss_t *key, void *value) in PyThread_tss_set()492 PyThread_tss_get(Py_tss_t *key) in PyThread_tss_get()
886 PyThread_tss_create(Py_tss_t *key) in PyThread_tss_create()903 PyThread_tss_delete(Py_tss_t *key) in PyThread_tss_delete()917 PyThread_tss_set(Py_tss_t *key, void *value) in PyThread_tss_set()925 PyThread_tss_get(Py_tss_t *key) in PyThread_tss_get()
75 Py_tss_t initial = Py_tss_NEEDS_INIT; in _PyRuntimeState_Init_impl()
41 Py_tss_t autoTSSkey;
1680 CPython interpreter. This API uses a new type :c:type:`Py_tss_t` instead of1688 .. c:type:: Py_tss_t1701 This macro expands to the initializer for :c:type:`Py_tss_t` variables.1708 Dynamic allocation of the :c:type:`Py_tss_t`, required in extension modules1713 .. c:function:: Py_tss_t* PyThread_tss_alloc()1720 .. c:function:: void PyThread_tss_free(Py_tss_t *key)1737 undefined if the given :c:type:`Py_tss_t` has not been initialized by1741 .. c:function:: int PyThread_tss_is_created(Py_tss_t *key)1743 Return a non-zero value if the given :c:type:`Py_tss_t` has been initialized1747 .. c:function:: int PyThread_tss_create(Py_tss_t *key)[all …]
2189 PyThread_tss_alloc:Py_tss_t*:::2192 PyThread_tss_create:Py_tss_t*:key::2195 PyThread_tss_delete:Py_tss_t*:key::2198 PyThread_tss_free:Py_tss_t*:key::2201 PyThread_tss_get:Py_tss_t*:key::2204 PyThread_tss_is_created:Py_tss_t*:key::2207 PyThread_tss_set:Py_tss_t*:key::
5311 …<typedef-decl name='Py_tss_t' type-id='type-id-302' filepath='./Include/pythread.h' line='123' col…
24 # define PYBIND11_TLS_KEY_INIT(var) Py_tss_t *var = nullptr
152 static Py_tss_t tracemalloc_reentrant_key = Py_tss_NEEDS_INIT;
5162 Py_tss_t tss_key = Py_tss_NEEDS_INIT; in test_pythread_tss_key_state()5198 Py_tss_t *ptr_key = PyThread_tss_alloc(); in test_pythread_tss_key_state()
45 Modules/_tracemalloc.c:tracemalloc_reentrant_key static Py_tss_t tracemalloc_reentr…
300 API. The TSS API uses a new type :c:type:`Py_tss_t` instead of :c:type:`int`