mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
bpo-44434: Remove useless calls to PyThread_exit_thread() (GH-26943)
Remove useless calls to PyThread_exit_thread() in two unit tests of _testcapi and _testembed modules. Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
This commit is contained in:
parent
dcb1caef5b
commit
48e3a1d95a
2 changed files with 0 additions and 4 deletions
|
|
@ -4300,8 +4300,6 @@ temporary_c_thread(void *data)
|
|||
PyGILState_Release(state);
|
||||
|
||||
PyThread_release_lock(test_c_thread->exit_event);
|
||||
|
||||
PyThread_exit_thread();
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
|
|||
|
|
@ -269,8 +269,6 @@ static void bpo20891_thread(void *lockp)
|
|||
PyGILState_Release(state);
|
||||
|
||||
PyThread_release_lock(lock);
|
||||
|
||||
PyThread_exit_thread();
|
||||
}
|
||||
|
||||
static int test_bpo20891(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue