Make threads report in either side of the scanhash function in case we miss reporting in when restarting work.
diff --git a/cgminer.c b/cgminer.c
index 82d0627..ed19b3a 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4197,7 +4197,9 @@ void *miner_thread(void *userdata)
}
pool_stats->getwork_calls++;
+ thread_reportin(mythr);
hashes = api->scanhash(mythr, work, work->blk.nonce + max_nonce);
+ thread_reportin(mythr);
gettimeofday(&getwork_start, NULL);