space88man created an issue (kamailio/kamailio#4213)
### Description During GIL refactoring as part of enablement of free-threading in Python: - app_python3s 62b4ee4 - app_python3 0ffe157
an incorrect storage specifier was used to save PyThreadState.
This result in deadlock in the KEMI modules
This issue is a placeholder for the correct threading fix for `threads_mode = 1`
Note that `threads_mode = 0` (the default) is the original threading model
### Reference See gh #4153