1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00

60 second quit fix after algo switch

This commit is contained in:
ystarnaud 2014-06-23 12:01:24 -04:00
parent 3a728e65fb
commit b91f2d3501

View File

@ -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,