Browse Source

60 second quit fix after algo switch

djm34
ystarnaud 10 years ago
parent
commit
b91f2d3501
  1. 9
      miner.h

9
miner.h

@ -245,6 +245,15 @@ enum drv_driver { @@ -245,6 +245,15 @@ enum drv_driver {
DRIVER_PARSE_COMMANDS(DRIVER_PROTOTYPE)
#endif
/* Temp fix for 60 second exit after algo switch */
#define __TEMP_ALGO_SWITCH_FIX__ //comment this to turn off the fix if needed
#ifdef __TEMP_ALGO_SWITCH_FIX__
struct thread_fix {
pthread_t thread_id;
struct thread_fix *prev, *next;
};
#endif /* __TEMP_ALGO_SWITCH_FIX__ */
enum alive {
LIFE_WELL,
LIFE_SICK,

Loading…
Cancel
Save