Browse Source

Bugfix: hashfast: Set LIFE_INIT2 so a dead engine doesn't hold up the stats line

Luke Dashjr 11 years ago
parent
commit
4955e20a08
1 changed files with 5 additions and 0 deletions
  1. 5 0
      driver-hashfast.c

+ 5 - 0
driver-hashfast.c

@@ -313,6 +313,11 @@ bool hashfast_init(struct thr_info * const master_thr)
 	
 	
 	// TODO: actual clock = [12,13]
 	// TODO: actual clock = [12,13]
 	
 	
+	for_each_managed_proc(proc, dev)
+	{
+		proc->status = LIFE_INIT2;
+	}
+	
 	timer_set_now(&master_thr->tv_poll);
 	timer_set_now(&master_thr->tv_poll);
 	return true;
 	return true;
 }
 }