Luke Dashjr
|
c8402a2f13
Bugfix: Use waddstr instead of wprintw to display completed device summary line, so literal %s don't get interpreted as formatting options
|
13 years ago |
Luke Dashjr
|
e77f591be6
Bugfix: bitforce: Avoid polling continuously between work restart and job completion
|
13 years ago |
Luke Dashjr
|
6e3c53e6f0
bitforce: Use poll device API when job_get_results needs to wait
|
13 years ago |
Luke Dashjr
|
be8753549c
bitforce: Use poll device API when job_start needs to wait
|
13 years ago |
Luke Dashjr
|
279be4e9c2
stale_work_future function to determine in advance if a work/share will be stale at some future time
|
13 years ago |
Luke Dashjr
|
bdf34c72ed
bitforce: Minimally refactor to adapt to new minerloop_async
|
13 years ago |
Luke Dashjr
|
ad9f5df249
minerloop_async: Break out of select on work_restart_notifier
|
13 years ago |
Luke Dashjr
|
3a98ef1f00
Replace UNIX-only work_restart_fd pipe with portable work_restart_notifier
|
13 years ago |
Luke Dashjr
|
2ab1530ca0
Bugfix: Clean out unused variables from minerloop_async
|
13 years ago |
Luke Dashjr
|
f9ab7d16ba
Move new device API code to new deviceapi.c source file
|
13 years ago |
Luke Dashjr
|
1d06401a40
Make minerloop_async more async, using some callbacks to handle event completions
|
13 years ago |
Luke Dashjr
|
187abe9324
Split part of minerloop_async into do_get_results, and a bit other reorganization
|
13 years ago |
Luke Dashjr
|
7849bb1c11
Abstract select_timeout function to convert a realtime timeval to a timeout pointer for select()
|
13 years ago |
Luke Dashjr
|
32f07b8a3c
Split part of minerloop_async into do_process_results, and don't allow api->job_get_results to return hashes
|
13 years ago |
Luke Dashjr
|
e8090899bf
Split part of minerloop_async into do_job_prepare and do_job_start
|
13 years ago |
Luke Dashjr
|
da766f222b
Initialize thr->tv_poll to -1 (disabled)
|
13 years ago |
Luke Dashjr
|
cf13881ab3
Update the hashmeter one last time before disabling a device
|
13 years ago |
Luke Dashjr
|
297a30a9ec
minerloop_async: Break out of select for wakeup notifications
|
13 years ago |
Luke Dashjr
|
e4121d7c1f
Replace mining thread queues (which were only used for wakeup pings) with notifiers (which can be used with select and co)
|
13 years ago |
Luke Dashjr
|
399491f863
Bugfix: Unify all mining thread wakeup to mt_enable (simplifying and fixing code)
|
13 years ago |
Luke Dashjr
|
1aea99eae3
Merge commit 'dfbf189' into multiproc
|
13 years ago |
Luke Dashjr
|
dfbf1890b7
Bugfix: cpu: reinit_device hasn't worked since 93b284d, so just remove it entirely instead of letting it screw with thread 0
|
13 years ago |
Luke Dashjr
|
f2dfac373f
Bugfix: get_statline: Correct device summary status, only showing DEAD or OFF if it affects all processors
|
13 years ago |
Luke Dashjr
|
8be3fb102a
Working processor disable/enable with new async minerloop (currently gets stuck if all processors disabled)
|
13 years ago |
Luke Dashjr
|
f9456eace4
Bugfix: get_statline: Only care about the processor status if --show-processors is set
|
13 years ago |
Luke Dashjr
|
4a7a3929b0
Bugfix: watchdog: Use processor thr_info even if it isn't a real thread
|
13 years ago |
Luke Dashjr
|
709181de25
Only support thread-per-device or N-threads-per-processor; simplify work_restart check
|
13 years ago |
Luke Dashjr
|
f90616ed56
x6500: Remove mutex, since driver is single-threaded now
|
13 years ago |
Luke Dashjr
|
0b286b8f8b
Bugfix: Update utility every get_statline call, and include every processor involved
|
13 years ago |
Luke Dashjr
|
7cfa42ebbe
HACKING: New text file to document the internal workings of (currently) the device API
|
13 years ago |