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:
parent
3a728e65fb
commit
b91f2d3501
9
miner.h
9
miner.h
@ -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…
Reference in New Issue
Block a user