Searched refs:thread_done (Results 1 – 2 of 2) sorted by relevance
1959 static PyThread_type_lock thread_done = NULL; variable1981 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()
2342 static PyThread_type_lock thread_done = NULL; variable2364 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()