Browse Source

Bugfix: Re-lock stgd_lock when we don't have a malgo-specific pool to use

Luke Dashjr 11 years ago
parent
commit
e012c91639
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.c

+ 1 - 0
miner.c

@@ -13708,6 +13708,7 @@ begin_bench:
 							work->spare = true;
 							goto retry;
 						}
+						mutex_lock(stgd_lock);
 					}
 				}
 				malgo = NULL;