def test_gil_scoped.test_cross_module_gil | ( | ) |
Makes sure that the GIL can be acquired by another module from a GIL-released state.
Definition at line 92 of file test_gil_scoped.py.
def test_gil_scoped.test_python_to_cpp_to_python_from_process | ( | ) |
Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue.
Definition at line 84 of file test_gil_scoped.py.
def test_gil_scoped.test_python_to_cpp_to_python_from_thread | ( | ) |
Makes sure there is no GIL deadlock when running in a thread. It runs in a separate process to be able to stop and assert if it deadlocks.
Definition at line 55 of file test_gil_scoped.py.
def test_gil_scoped.test_python_to_cpp_to_python_from_thread_multiple_parallel | ( | ) |
Makes sure there is no GIL deadlock when running in a thread multiple times in parallel. It runs in a separate process to be able to stop and assert if it deadlocks.
Definition at line 64 of file test_gil_scoped.py.
def test_gil_scoped.test_python_to_cpp_to_python_from_thread_multiple_sequential | ( | ) |
Makes sure there is no GIL deadlock when running in a thread multiple times sequentially. It runs in a separate process to be able to stop and assert if it deadlocks.
Definition at line 73 of file test_gil_scoped.py.