ckolivas
|
391e1f7eb1
Restart is zeroed in the mining thread so no need to do it inside the bitforce code.
|
13 years ago |
ckolivas
|
efcce5bbb8
Remove unused tdiff value.
|
13 years ago |
ckolivas
|
b1cdacdead
Polling every 10ms there's not much point checking the pthread_cond_timedwait as it just adds overhead. Simply check the value of work_restart in the bfl main polling loop.
|
13 years ago |
ckolivas
|
fd7b21ed56
Use a pthread conditional that is broadcast whenever work restarts are required. Create a generic wait function waiting a specified time on that conditional that returns if the condition is met or a specified time passed to it has elapsed. Use this to do smarter polling in bitforce to abort work, queue more work, and check for results to minimise time spent working needlessly.
|
13 years ago |
Kano
|
4dee0d049c
FPGA - allow device detect override without an open failure
|
13 years ago |
Luke Dashjr
|
d3fa59d76f
Abstract generally useful FPGA code into fpgautils.c
|
13 years ago |
Luke Dashjr
|
06023e549e
Bugfix: Return failure, rather than quit, if BFwrite fails
|
14 years ago |
Kano
|
20676694f3
Ensure everyone sees the same screen/api name as the previous version for Bitforce
|
14 years ago |
Luke Dashjr
|
0f74ba059e
Implement and document "-S noauto" to inhibit autoscanning without specifying a serial device
|
14 years ago |
Luke Dashjr
|
b8778839e9
Merge branch 'master' into unify_drivers
|
14 years ago |
Luke Dashjr
|
f05a319e01
CGPU API for device names
|
14 years ago |
Luke Dashjr
|
303dbf4664
Abstract add_cgpu function, to handle device id numbering and devices array
|
14 years ago |
Luke Dashjr
|
e131dfab31
Unify drivers as driver-*.c and add driver name to API
|
14 years ago |