[sr-dev] git:5.0:e5677bc9: core: added PROC_XWORKER as an alias to PROC_RANK127
Ovidiu Sas
osas at voipembedded.com
Sat Feb 11 03:01:13 CET 2017
Module: kamailio
Branch: 5.0
Commit: e5677bc936a99a879235986913879eb14fafb5b2
URL: https://github.com/kamailio/kamailio/commit/e5677bc936a99a879235986913879eb14fafb5b2
Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date: 2017-02-10T21:00:35-05:00
core: added PROC_XWORKER as an alias to PROC_RANK127
(cherry picked from commit 3e8589afcf75e7c93c5bcb9b4c4269c7b29774bd)
---
Modified: src/core/sr_module.h
---
Diff: https://github.com/kamailio/kamailio/commit/e5677bc936a99a879235986913879eb14fafb5b2.diff
Patch: https://github.com/kamailio/kamailio/commit/e5677bc936a99a879235986913879eb14fafb5b2.patch
---
diff --git a/src/core/sr_module.h b/src/core/sr_module.h
index 2317de5..e2bef74 100644
--- a/src/core/sr_module.h
+++ b/src/core/sr_module.h
@@ -180,11 +180,15 @@ typedef int (*param_func_t)( modparam_t type, void* val);
#define PROC_SIPROUTER 2 /**< First (pure) SIP worker - can be used to check
if just a normal sip router or initialize custom worker
processes by starting from this value */
-#define PROC_SIPRPC 127 /**< Used to init RPC worker as SIP commands
+#define PROC_RANK127 127 /**< Used to init RPC worker as SIP commands
handler. Don't do any special processing in the
child init with this rank - just bare child
initialization */
+#define PROC_SIPRPC PROC_RANK127
+
+#define PROC_XWORKER PROC_RANK127
+
#define PROC_MIN PROC_NOCHLDINIT /**< Minimum process rank */
More information about the sr-dev
mailing list