Con Kolivas
|
b5b3ca4911
Convert gbt_lock to a cg_lock.
|
13 years ago |
Con Kolivas
|
b8ed231f64
Add intermediate variants of cglocks that can be up or downgraded to read or write locks and use them for stratum work generation.
|
13 years ago |
Con Kolivas
|
26ddd1fd20
Move the stratum and GBT data to be protected under a new cg_lock data_lock.
|
13 years ago |
Con Kolivas
|
fd87825bf9
Convert the ch_lock to cg_lock.
|
13 years ago |
Con Kolivas
|
0bbaaa9723
Convert the control_lock to a cg_lock.
|
13 years ago |
Con Kolivas
|
74164a3ae6
Remove unused qd_lock.
|
13 years ago |
Kano
|
6d629d6856
do usb_initialise() after the started message so we see it
|
13 years ago |
Kano
|
3f50e878a2
USB add --usb options to limit USB device selection v0.1
|
13 years ago |
Con Kolivas
|
5412323e26
Fix memory leak with share submission on GPU work structures as discovered by twobitcoins.
|
13 years ago |
Kano
|
f24fab3fd4
Show pool number in switch message
|
13 years ago |
Con Kolivas
|
e0196a3307
Don't start testing any pools with the watchpool thread if any of the test threads are still active.
|
13 years ago |
Con Kolivas
|
81c02123f8
Set pool died on failed testing to allow idle flag and time to be set.
|
13 years ago |
Con Kolivas
|
6c77e9a884
Perform pool_resus on all pools that are found alive with the test pool threads.
|
13 years ago |
Con Kolivas
|
d932a36c46
Use pool_unworkable in select_balanced as well.
|
13 years ago |
Con Kolivas
|
90a1114a46
Differentiate pool_unusable from pool_unworkable.
|
13 years ago |
Con Kolivas
|
3b84131f10
Keep a connection open on higher priority stratum pools to fail back to them.
|
13 years ago |
Con Kolivas
|
f3ce5777a2
Rename threads according to what pool they're associated with as well.
|
13 years ago |
Con Kolivas
|
9b34d82154
Set the wrong bool in pool_active
|
13 years ago |
Con Kolivas
|
de28944328
Revert "Rollback breakage to 81567e515707891837f52bc3aac7d5916dfff5a2"
|
13 years ago |
ckolivas
|
8c87807519
Start the stratum thread only if we successfully init and authorise it, otherwise unset the init flag.
|
13 years ago |
ckolivas
|
e746ed6412
Make the initialisation of the stratum thread more robust allowing the watchpool thread safe access to it after the stratum thread is started.
|
13 years ago |
Con Kolivas
|
d7c4be30ba
Only set stratum auth once to prevent multiple threads being started.
|
13 years ago |
Con Kolivas
|
3db4d6f0eb
Display select return value on select fail in stratum thread.
|
13 years ago |
Con Kolivas
|
a8863995de
Rollback breakage to 81567e515707891837f52bc3aac7d5916dfff5a2
|
13 years ago |
Con Kolivas
|
a5d35e822a
Only bypass unusable pools if they're not the selected ones.
|
13 years ago |
Con Kolivas
|
1468feb0d3
Find the first usable pool in preference to the current pool in select_pool for work.
|
13 years ago |
Con Kolivas
|
ade8c6c79c
Add a pool_unusable function which checks if a pool is stratum but not active to use within switch_pools.
|
13 years ago |
Con Kolivas
|
81567e5157
Perform pool resus on pools that were not set as the initial pool at startup.
|
13 years ago |
Con Kolivas
|
c7c21e6c37
Revert "Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools."
|
13 years ago |
Con Kolivas
|
370e8fc862
Clear the pool idle flag only on the pool chosen at startup, allowing it to be cleared by the watchpool thread for the other pools.
|
13 years ago |