Browse Source

core: added PROC_XWORKER as an alias to PROC_RANK127

Ovidiu Sas 8 năm trước cách đây
mục cha
commit
3e8589afcf
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      src/core/sr_module.h

+ 5 - 1
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
 #define PROC_SIPROUTER    2  /**< First (pure) SIP worker - can be used to check
 						if just a normal sip router or initialize custom worker
 						if just a normal sip router or initialize custom worker
 						processes by starting from this value */
 						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
 							   handler. Don't do any special processing in the
 							   child init with this rank - just bare child
 							   child init with this rank - just bare child
 							   initialization */
 							   initialization */
 
 
+#define PROC_SIPRPC PROC_RANK127
+
+#define PROC_XWORKER PROC_RANK127
+
 #define PROC_MIN PROC_NOCHLDINIT /**< Minimum process rank */
 #define PROC_MIN PROC_NOCHLDINIT /**< Minimum process rank */