Browse Source

Bugfix: Initialize mutex_request to invalid so devices that don't use it (bitforce) don't try to

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

+ 1 - 0
miner.c

@@ -8210,6 +8210,7 @@ begin_bench:
 			thr->cgpu = cgpu;
 			thr->cgpu = cgpu;
 			thr->device_thread = j;
 			thr->device_thread = j;
 			thr->work_restart_notifier[1] = INVSOCK;
 			thr->work_restart_notifier[1] = INVSOCK;
+			thr->mutex_request[1] = INVSOCK;
 			thr->_job_transition_in_progress = true;
 			thr->_job_transition_in_progress = true;
 			timerclear(&thr->tv_morework);
 			timerclear(&thr->tv_morework);