Searched refs:thread_done (Results 1 – 1 of 1) sorted by relevance
1275 static PyThread_type_lock thread_done = NULL; variable1297 PyThread_release_lock(thread_done); in _make_call_from_thread()1317 thread_done = PyThread_allocate_lock(); in test_thread_state()1318 if (thread_done == NULL) in test_thread_state()1320 PyThread_acquire_lock(thread_done, 1); in test_thread_state()1329 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()1339 PyThread_acquire_lock(thread_done, 1); /* wait for thread to finish */ in test_thread_state()1343 PyThread_release_lock(thread_done); in test_thread_state()1345 PyThread_free_lock(thread_done); in test_thread_state()