Browse code

process_bit removed

Jiri Kuthan authored on 10/09/2002 15:58:19
Showing 2 changed files
... ...
@@ -51,7 +51,7 @@ extern int server_signature;
51 51
 /*
52 52
  * debug & log_stderr moved to dprint.h*/
53 53
 
54
-extern process_bm_t process_bit;
54
+/* extern process_bm_t process_bit; */
55 55
 extern int *pids;
56 56
 
57 57
 extern int cfg_errors;
... ...
@@ -248,7 +248,7 @@ struct host_alias* aliases=0; /* name aliases list */
248 248
 
249 249
 /* ipc related globals */
250 250
 int process_no = 0;
251
-process_bm_t process_bit = 0;
251
+/* process_bm_t process_bit = 0; */
252 252
 #ifdef ROUTE_SRV
253 253
 #endif
254 254
 
... ...
@@ -509,7 +509,7 @@ int main_loop()
509 509
 				if (pid==0){
510 510
 					/* child */
511 511
 					/* timer!*/
512
-					process_bit = 0;
512
+					/* process_bit = 0; */
513 513
 					for(;;){
514 514
 						sleep(TIMER_TICK);
515 515
 						timer_ticker();
... ...
@@ -526,7 +526,7 @@ int main_loop()
526 526
 		}
527 527
 		/* main process, receive loop */
528 528
 		pids[0]=getpid();
529
-		process_bit = 1;
529
+		/* process_bit = 1; */
530 530
 		process_no=0; /*main process number*/
531 531
 		
532 532
 		     /* We will call child_init even if we
... ...
@@ -575,7 +575,7 @@ int main_loop()
575 575
 						LOG(L_ERR, "init_child failed\n");
576 576
 						goto error;
577 577
 					}
578
-					process_bit = 1 << (i+r*children_no); /*or process_no-1*/
578
+					/* process_bit = 1 << (i+r*children_no); */ /*or process_no-1*/
579 579
 #ifdef STATS
580 580
 					setstats( i+r*children_no );
581 581
 #endif
... ...
@@ -628,7 +628,7 @@ int main_loop()
628 628
 		printf("% 3d   % 5d\n", r, pids[r]);
629 629
 	}
630 630
 	process_no=0; 
631
-	process_bit = 0;
631
+	/* process_bit = 0; */
632 632
 	is_main=1;
633 633
 	
634 634
 	for(;;){