Searched refs:thread_done (Results 1 – 1 of 1) sorted by relevance
1862 static PyThread_type_lock thread_done = NULL; variable1884 PyThread_release_lock(thread_done); in _make_call_from_thread()1904 thread_done = PyThread_allocate_lock(); in test_thread_state()1905 if (thread_done == NULL) in test_thread_state()1907 PyThread_acquire_lock(thread_done, 1); in test_thread_state()1916 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()1926 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()1930 PyThread_release_lock(thread_done); in test_thread_state()1932 PyThread_free_lock(thread_done); in test_thread_state()