|
@@ -75,6 +75,8 @@ inline static int process_count()
|
|
+ (timer_list ? 1 : 0 )
|
|
+ (timer_list ? 1 : 0 )
|
|
/* fifo server */
|
|
/* fifo server */
|
|
+((fifo==NULL || strlen(fifo)==0) ? 0 : 1 )
|
|
+((fifo==NULL || strlen(fifo)==0) ? 0 : 1 )
|
|
|
|
+ /* unixsock server*/
|
|
|
|
+ +(unixsock_name?unixsock_children:0)
|
|
#ifdef USE_TCP
|
|
#ifdef USE_TCP
|
|
+((!tcp_disable)?( 1/* tcp main */ + tcp_children_no +
|
|
+((!tcp_disable)?( 1/* tcp main */ + tcp_children_no +
|
|
(timer_list ? 0: 1)):0) /* add the timer proc.
|
|
(timer_list ? 0: 1)):0) /* add the timer proc.
|