Browse Source

pdb: skip child init for proc init and tcp main

Daniel-Constantin Mierla 14 years ago
parent
commit
0f376a2589
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/pdb/pdb.c

+ 2 - 0
modules/pdb/pdb.c

@@ -670,6 +670,8 @@ static int mod_init(void)
 
 static int child_init (int rank)
 {
+	if(rank==PROC_INIT || rank==PROC_TCP_MAIN)
+		return 0;
 	return mi_child_init();
 }