Con Kolivas
|
448f8dde80
Don't attempt to disable curses or print a summary during an app restart to prevent deadlocks.
|
12 years ago |
Con Kolivas
|
81dfe60d36
Keep the libusb event handle polling thread active until there are no async usb transfers in progress.
|
12 years ago |
Con Kolivas
|
e76421320e
Minor opencl build corrections.
|
12 years ago |
Con Kolivas
|
273b04be62
Do the ntime binary modification to the work struct when submitting an ntime offset nonce within submit_noffset_nonce
|
12 years ago |
Con Kolivas
|
06776af000
Use the forcelog function on shutdown to cope with indeterminate console lock states due to killing of threads.
|
12 years ago |
Con Kolivas
|
8e9f32a81b
Add a forcelog variant of applog which invalidates any console lock to force output.
|
12 years ago |
ckolivas
|
680f014c85
Simplify queued hashtable by storing unqueued work separately in a single pointer.
|
12 years ago |
ckolivas
|
40821d1f11
Use cgcompletion timeouts for the unreliable shutdown functions on kill_work.
|
12 years ago |
Kano
|
c9adb1929c
allow __work_complete() access
|
12 years ago |
Kano
|
514b3c424f
API add 'MHS %ds' to 'summary'
|
12 years ago |
Kano
|
d3d3fc1316
Optional lock tracking and stats via the API
|
12 years ago |
Con Kolivas
|
685c2acecd
Speed up polling repeat again in usb poll thread and handle async after the message to disable polling is complete.
|
12 years ago |
Con Kolivas
|
bec75b61a6
Make the USB polling thread poll every second to potentially aid longer timeout transfers.
|
12 years ago |
ckolivas
|
f821d0fbf3
Set device_diff on work in get_work to not be missed with drivers that use get_work directly.
|
12 years ago |
Con Kolivas
|
9e287f9598
Merge pull request #499 from someone42/master
|
12 years ago |
Con Kolivas
|
07837072f1
hexstr is too small in test_work_current
|
12 years ago |
Con Kolivas
|
56edabc64d
Use a timeout with usb handle events set to a nominal 200ms and wait for the polling thread to shut down before deinitialising libusb.
|
12 years ago |
Con Kolivas
|
9f8023a959
Use stack memory for hex used in stratum share submissions.
|
12 years ago |
Con Kolivas
|
e0c90359fd
Use stack memory in test_work_current, avoiding a malloc/free cycle each time.
|
12 years ago |
Con Kolivas
|
835ad82441
Convert the bitfury driver to use the hash_driver_work version of hash_work.
|
12 years ago |
Con Kolivas
|
58008a3742
Add a hash_driver_work function to allow for drivers that wish to do their own work queueing and management.
|
12 years ago |
Chris Chua
|
b509e84376
using separate identifier for bitburner fury boards
|
12 years ago |
Con Kolivas
|
cda797d1be
Avoid calling get_statline_before on exit to avoid trying to use it on drivers in an indeterminate state.
|
12 years ago |
Con Kolivas
|
d437de8428
Avoid calling get_statline on exit.
|
12 years ago |
Con Kolivas
|
b5dfacef24
We are always dependent on libusb handling events so use the blocking libusb_handle_events in the polling thread and use a bool to know if we should continue polling.
|
12 years ago |
Con Kolivas
|
853aa28ffc
Merge branch 'master' into async
|
12 years ago |
Con Kolivas
|
2834eb8d6d
Kill off threads that have failed using hash_sole_work instead of just disabling them.
|
12 years ago |
Con Kolivas
|
f80c900336
Merge branch 'master' into async
|
12 years ago |
Con Kolivas
|
f8e28f251d
Try switching pools if for some reason we end up with only idle pools and have ended up current_pool set to an idle one.
|
12 years ago |
Con Kolivas
|
3b527f14d0
Check a pool is stable for >5 mins before switching back to it.
|
12 years ago |