Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_testcapimodule.c4495 Py_tss_t tss_key = Py_tss_NEEDS_INIT; in test_pythread_tss_key_state() local
4496 if (PyThread_tss_is_created(&tss_key)) { in test_pythread_tss_key_state()
4501 if (PyThread_tss_create(&tss_key) != 0) { in test_pythread_tss_key_state()
4505 if (!PyThread_tss_is_created(&tss_key)) { in test_pythread_tss_key_state()
4510 if (PyThread_tss_create(&tss_key) != 0) { in test_pythread_tss_key_state()
4517 if (!PyThread_tss_is_created(&tss_key)) { \ in test_pythread_tss_key_state()
4521 CHECK_TSS_API(PyThread_tss_set(&tss_key, NULL)); in test_pythread_tss_key_state()
4522 CHECK_TSS_API(PyThread_tss_get(&tss_key)); in test_pythread_tss_key_state()
4524 PyThread_tss_delete(&tss_key); in test_pythread_tss_key_state()
4525 if (PyThread_tss_is_created(&tss_key)) { in test_pythread_tss_key_state()