Classes | |
class | ExtendedVirtClass |
Variables | |
ALL_BASIC_TESTS | |
ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK | |
VARS_BEFORE_ALL_BASIC_TESTS | |
|
private |
Definition at line 150 of file test_gil_scoped.py.
|
private |
Definition at line 157 of file test_gil_scoped.py.
|
private |
Definition at line 198 of file test_gil_scoped.py.
def test_gil_scoped.test_all_basic_tests_completeness | ( | ) |
Definition at line 140 of file test_gil_scoped.py.
def test_gil_scoped.test_callback_pure_virtual_func | ( | ) |
Definition at line 35 of file test_gil_scoped.py.
def test_gil_scoped.test_callback_py_obj | ( | ) |
Definition at line 22 of file test_gil_scoped.py.
def test_gil_scoped.test_callback_std_func | ( | ) |
Definition at line 26 of file test_gil_scoped.py.
def test_gil_scoped.test_callback_virtual_func | ( | ) |
Definition at line 30 of file test_gil_scoped.py.
def test_gil_scoped.test_cross_module_gil_acquired | ( | ) |
Makes sure that the GIL can be acquired by another module from a GIL-acquired state.
Definition at line 45 of file test_gil_scoped.py.
def test_gil_scoped.test_cross_module_gil_inner_custom_acquired | ( | ) |
Makes sure that the GIL can be acquired/acquired by another module from a GIL-acquired state using custom locking logic.
Definition at line 56 of file test_gil_scoped.py.
def test_gil_scoped.test_cross_module_gil_inner_custom_released | ( | ) |
Makes sure that the GIL can be acquired/released by another module from a GIL-released state using custom locking logic.
Definition at line 50 of file test_gil_scoped.py.
def test_gil_scoped.test_cross_module_gil_inner_pybind11_acquired | ( | ) |
Makes sure that the GIL can be acquired/acquired by another module from a GIL-acquired state using pybind11 locking logic.
Definition at line 68 of file test_gil_scoped.py.
def test_gil_scoped.test_cross_module_gil_inner_pybind11_released | ( | ) |
Makes sure that the GIL can be acquired/released by another module from a GIL-released state using pybind11 locking logic.
Definition at line 62 of file test_gil_scoped.py.
def test_gil_scoped.test_cross_module_gil_nested_custom_acquired | ( | ) |
Makes sure that the GIL can be nested acquired/acquired by another module from a GIL-acquired state using custom locking logic.
Definition at line 82 of file test_gil_scoped.py.
def test_gil_scoped.test_cross_module_gil_nested_custom_released | ( | ) |
Makes sure that the GIL can be nested acquired/released by another module from a GIL-released state using custom locking logic.
Definition at line 75 of file test_gil_scoped.py.
def test_gil_scoped.test_cross_module_gil_nested_pybind11_acquired | ( | ) |
Makes sure that the GIL can be nested acquired/acquired by another module from a GIL-acquired state using pybind11 locking logic.
Definition at line 96 of file test_gil_scoped.py.
def test_gil_scoped.test_cross_module_gil_nested_pybind11_released | ( | ) |
Makes sure that the GIL can be nested acquired/released by another module from a GIL-released state using pybind11 locking logic.
Definition at line 89 of file test_gil_scoped.py.
def test_gil_scoped.test_cross_module_gil_released | ( | ) |
Makes sure that the GIL can be acquired by another module from a GIL-released state.
Definition at line 40 of file test_gil_scoped.py.
def test_gil_scoped.test_multi_acquire_release_cross_module | ( | ) |
Definition at line 111 of file test_gil_scoped.py.
def test_gil_scoped.test_nested_acquire | ( | ) |
Definition at line 106 of file test_gil_scoped.py.
def test_gil_scoped.test_release_acquire | ( | ) |
Definition at line 102 of file test_gil_scoped.py.
def test_gil_scoped.test_run_in_process_direct | ( | test_fn | ) |
Makes sure there is no GIL deadlock when using processes. This test is for completion, but it was never an issue.
Definition at line 244 of file test_gil_scoped.py.
def test_gil_scoped.test_run_in_process_multiple_threads_parallel | ( | test_fn | ) |
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 224 of file test_gil_scoped.py.
def test_gil_scoped.test_run_in_process_multiple_threads_sequential | ( | test_fn | ) |
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 234 of file test_gil_scoped.py.
def test_gil_scoped.test_run_in_process_one_thread | ( | test_fn | ) |
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 214 of file test_gil_scoped.py.
test_gil_scoped.ALL_BASIC_TESTS |
Definition at line 119 of file test_gil_scoped.py.
test_gil_scoped.ALL_BASIC_TESTS_PLUS_INTENTIONAL_DEADLOCK |
Definition at line 154 of file test_gil_scoped.py.
test_gil_scoped.VARS_BEFORE_ALL_BASIC_TESTS |
Definition at line 118 of file test_gil_scoped.py.