Module: kamailio
Branch: master
Commit: 570db90ccacbe02419fdc9d7c4b8b115f6fb1540
URL: https://github.com/kamailio/kamailio/commit/570db90ccacbe02419fdc9d7c4b8b11…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2025-04-22T02:01:10+02:00
modules: readme files regenerated - app_python3 ... [skip ci]
---
Modified: src/modules/app_python3/README
Modified: src/modules/app_python3s/README
---
Diff: https://github.com/kamailio/kamailio/commit/570db90ccacbe02419fdc9d7c4b8b11…
Patch: https://github.com/kamailio/kamailio/commit/570db90ccacbe02419fdc9d7c4b8b11…
---
diff --git a/src/modules/app_python3/README b/src/modules/app_python3/README
index 5a012417df5..98d7c3725bc 100644
--- a/src/modules/app_python3/README
+++ b/src/modules/app_python3/README
@@ -177,6 +177,10 @@ modparam("app_python3", "child_init_method", "my_child_init")
If set to 0, use PyGILState_Ensure()/PyGILState_Release() (the mode
implemented initially).
+ If set to 1, Python threading Thread objects created in the KEMI script
+ will be scheduled. Otherwise, additional Python threads will not be
+ scheduled (no release of GIL).
+
Default value is “0”.
Example 1.4. Set threads_mode parameter
diff --git a/src/modules/app_python3s/README b/src/modules/app_python3s/README
index af38af3e8e0..cf79c7fed56 100644
--- a/src/modules/app_python3s/README
+++ b/src/modules/app_python3s/README
@@ -174,6 +174,10 @@ def ksr_script_child_init():
If set to 0, use PyGILState_Ensure()/PyGILState_Release() (the mode
implemented initially).
+ If set to 1, Python threading Thread objects created in the KEMI script
+ will be scheduled. Otherwise, additional Python threads will not be
+ scheduled (no release of GIL).
+
Default value is “0”.
Example 1.4. Set threads_mode parameter
Module: kamailio
Branch: 6.0
Commit: 265e0f78bd0ecf34c0356ad4ffe8a9d9cf4a9594
URL: https://github.com/kamailio/kamailio/commit/265e0f78bd0ecf34c0356ad4ffe8a9d…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2025-04-22T07:59:01+08:00
app_python3s: update docs for threads_mode parameter
(cherry picked from commit fcedbd7099a15e09d1dd21c933f3ebfe3c55f5c5)
---
Modified: src/modules/app_python3s/doc/app_python3s_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/265e0f78bd0ecf34c0356ad4ffe8a9d…
Patch: https://github.com/kamailio/kamailio/commit/265e0f78bd0ecf34c0356ad4ffe8a9d…
---
diff --git a/src/modules/app_python3s/doc/app_python3s_admin.xml b/src/modules/app_python3s/doc/app_python3s_admin.xml
index 8381dda274f..bb9e86c8c5c 100644
--- a/src/modules/app_python3s/doc/app_python3s_admin.xml
+++ b/src/modules/app_python3s/doc/app_python3s_admin.xml
@@ -160,6 +160,10 @@ def ksr_script_child_init():
v6.0.x). If set to 0, use PyGILState_Ensure()/PyGILState_Release()
(the mode implemented initially).
</para>
+ <para>
+ If set to 1, Python threading Thread objects created in the KEMI script will be scheduled. Otherwise,
+ additional Python threads will not be scheduled (no release of GIL).
+ </para>
<para>
<emphasis>
Default value is <quote>0</quote>.
Module: kamailio
Branch: 6.0
Commit: 5406da9cf265f6dc80beeb9bea642bf8dd87be32
URL: https://github.com/kamailio/kamailio/commit/5406da9cf265f6dc80beeb9bea642bf…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2025-04-22T07:58:43+08:00
app_python3: update docs for threads_mode parameter
(cherry picked from commit 168d289ebd6daadf58199f4461ef7cd30dc7442a)
---
Modified: src/modules/app_python3/doc/app_python3_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/5406da9cf265f6dc80beeb9bea642bf…
Patch: https://github.com/kamailio/kamailio/commit/5406da9cf265f6dc80beeb9bea642bf…
---
diff --git a/src/modules/app_python3/doc/app_python3_admin.xml b/src/modules/app_python3/doc/app_python3_admin.xml
index 87b97f0824d..20eeae6ffce 100644
--- a/src/modules/app_python3/doc/app_python3_admin.xml
+++ b/src/modules/app_python3/doc/app_python3_admin.xml
@@ -168,6 +168,10 @@ modparam("app_python3", "child_init_method", "my_child_init")
v6.0.x). If set to 0, use PyGILState_Ensure()/PyGILState_Release()
(the mode implemented initially).
</para>
+ <para>
+ If set to 1, Python threading Thread objects created in the KEMI script will be scheduled. Otherwise,
+ additional Python threads will not be scheduled (no release of GIL).
+ </para>
<para>
<emphasis>
Default value is <quote>0</quote>.
Module: kamailio
Branch: master
Commit: fcedbd7099a15e09d1dd21c933f3ebfe3c55f5c5
URL: https://github.com/kamailio/kamailio/commit/fcedbd7099a15e09d1dd21c933f3ebf…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2025-04-22T07:34:29+08:00
app_python3s: update docs for threads_mode parameter
---
Modified: src/modules/app_python3s/doc/app_python3s_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/fcedbd7099a15e09d1dd21c933f3ebf…
Patch: https://github.com/kamailio/kamailio/commit/fcedbd7099a15e09d1dd21c933f3ebf…
---
diff --git a/src/modules/app_python3s/doc/app_python3s_admin.xml b/src/modules/app_python3s/doc/app_python3s_admin.xml
index 8381dda274f..bb9e86c8c5c 100644
--- a/src/modules/app_python3s/doc/app_python3s_admin.xml
+++ b/src/modules/app_python3s/doc/app_python3s_admin.xml
@@ -160,6 +160,10 @@ def ksr_script_child_init():
v6.0.x). If set to 0, use PyGILState_Ensure()/PyGILState_Release()
(the mode implemented initially).
</para>
+ <para>
+ If set to 1, Python threading Thread objects created in the KEMI script will be scheduled. Otherwise,
+ additional Python threads will not be scheduled (no release of GIL).
+ </para>
<para>
<emphasis>
Default value is <quote>0</quote>.
Module: kamailio
Branch: master
Commit: 168d289ebd6daadf58199f4461ef7cd30dc7442a
URL: https://github.com/kamailio/kamailio/commit/168d289ebd6daadf58199f4461ef7cd…
Author: S-P Chan <shihping.chan(a)gmail.com>
Committer: S-P Chan <shihping.chan(a)gmail.com>
Date: 2025-04-22T07:34:29+08:00
app_python3: update docs for threads_mode parameter
---
Modified: src/modules/app_python3/doc/app_python3_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/168d289ebd6daadf58199f4461ef7cd…
Patch: https://github.com/kamailio/kamailio/commit/168d289ebd6daadf58199f4461ef7cd…
---
diff --git a/src/modules/app_python3/doc/app_python3_admin.xml b/src/modules/app_python3/doc/app_python3_admin.xml
index 87b97f0824d..20eeae6ffce 100644
--- a/src/modules/app_python3/doc/app_python3_admin.xml
+++ b/src/modules/app_python3/doc/app_python3_admin.xml
@@ -168,6 +168,10 @@ modparam("app_python3", "child_init_method", "my_child_init")
v6.0.x). If set to 0, use PyGILState_Ensure()/PyGILState_Release()
(the mode implemented initially).
</para>
+ <para>
+ If set to 1, Python threading Thread objects created in the KEMI script will be scheduled. Otherwise,
+ additional Python threads will not be scheduled (no release of GIL).
+ </para>
<para>
<emphasis>
Default value is <quote>0</quote>.