Con Kolivas
|
8fdf6d5c64
Only clear stratum shares mandatorily on stratum dropouts when the pool does not support resume.
|
13 years ago |
Con Kolivas
|
f60637c3f9
Try resubmitting stratum shares every 5 seconds for up to 2 minutes if the pool session id exists and matches on failure to submit.
|
13 years ago |
Con Kolivas
|
7e8019acdd
Do as much outside of mutex locking of sshare_lock as possible.
|
13 years ago |
Con Kolivas
|
7551b88d00
Remove last reference to struct work used outside the sshare_lock in submit_work_thread
|
13 years ago |
Con Kolivas
|
ebb99e5a8d
Unlock the sshare_lock in submit_work_thread when all references to work and sshare are complete.
|
13 years ago |
Con Kolivas
|
1bf1f4a217
Add timestamps to stratum_share structs as they're generated and copy the stratum sessionid if it exists to stratum work generated.
|
13 years ago |
Con Kolivas
|
20b5ebbc95
hash_sole_work can be static
|
13 years ago |
Con Kolivas
|
c28e2238c6
Merge branch 'master' into usb-dev
|
13 years ago |
Con Kolivas
|
775a1abc06
Keep the unique id of each work item across copy_work to prevent multiple work items having the same id.
|
13 years ago |
Con Kolivas
|
61a3e1b1d1
Merge pull request #382 from kanoi/hotplug
|
13 years ago |
Con Kolivas
|
dafc2f775a
Abstract out the main hashing loop to allow us to use a separate loop for devices that are fast enough to require queued work.
|
13 years ago |
Con Kolivas
|
81b84d4f7b
Provide a noop thread_enable function for drivers that don't support it.
|
13 years ago |
Con Kolivas
|
b884d11a23
Provide a noop thread_shutdown function for drivers that don't support it.
|
13 years ago |
Con Kolivas
|
2c28eefc45
Provide a noop hw_error function for drivers that don't support it.
|
13 years ago |
Con Kolivas
|
210537198c
Provide a noop prepare_work for drivers that don't support it.
|
13 years ago |
Con Kolivas
|
b9f5b48c08
Provide a noop thread_init for drivers that don't support it.
|
13 years ago |
Con Kolivas
|
8e12a05b47
Provide a noop can_limit_work for devices that don't support it.
|
13 years ago |
Con Kolivas
|
5b22f092d9
Provide a noop thread_prepare function for drivers that don't use thread_prepare.
|
13 years ago |
Con Kolivas
|
5d581cb5d7
Use blank_get_statline_before for GPU devices that don't support adl monitoring.
|
13 years ago |
Con Kolivas
|
2c3c9e5b55
Provide a noop get_stats function for drivers that don't support it.
|
13 years ago |
Con Kolivas
|
de48ccca0e
Provide a blank get_statline for drivers that don't support it.
|
13 years ago |
Con Kolivas
|
b3d9477eb7
Provide a blank get_statline_before function for drivers that don't have one.
|
13 years ago |
Con Kolivas
|
f2380eab4c
Fill drivers missing reinit_device with a noop version.
|
13 years ago |
Kano
|
530e3b0172
hotplug use get_thread() where appropriate
|
13 years ago |
Kano
|
6fb32f7b5d
convert sleep(const) to nmsleep()
|
13 years ago |
Kano
|
bc5755233c
call a separate get_devices() with locking, as required
|
13 years ago |
Kano
|
983fe2b0c0
usbutils hotplug v0.1
|
13 years ago |
Kano
|
296eab26b4
Report USB nodev as ZOMBIE on the screen
|
13 years ago |
Con Kolivas
|
3c91b292a2
Merge branch 'master' into usb-dev
|
13 years ago |
Con Kolivas
|
3804850141
Do not consider every call to stratum_resumed a pool recovery unless it was actually idle.
|
13 years ago |