mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 13:52:02 +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)
|
DRIVER_PARSE_COMMANDS(DRIVER_PROTOTYPE)
|
||||||
#endif
|
#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 {
|
enum alive {
|
||||||
LIFE_WELL,
|
LIFE_WELL,
|
||||||
LIFE_SICK,
|
LIFE_SICK,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user