Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_testcapimodule.c1959 static PyThread_type_lock thread_done = NULL; variable
1981 PyThread_release_lock(thread_done); in _make_call_from_thread()
2001 thread_done = PyThread_allocate_lock(); in test_thread_state()
2002 if (thread_done == NULL) in test_thread_state()
2004 PyThread_acquire_lock(thread_done, 1); in test_thread_state()
2013 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
2023 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
2027 PyThread_release_lock(thread_done); in test_thread_state()
2029 PyThread_free_lock(thread_done); in test_thread_state()
/external/python/cpython3/Modules/
D_testcapimodule.c2342 static PyThread_type_lock thread_done = NULL; variable
2364 PyThread_release_lock(thread_done); in _make_call_from_thread()
2384 thread_done = PyThread_allocate_lock(); in test_thread_state()
2385 if (thread_done == NULL) in test_thread_state()
2387 PyThread_acquire_lock(thread_done, 1); in test_thread_state()
2396 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
2406 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()
2410 PyThread_release_lock(thread_done); in test_thread_state()
2412 PyThread_free_lock(thread_done); in test_thread_state()