Luke Dashjr
|
450ed2acf5
bitforce: XLINK: Update to use actual length,xlinkid header order
|
12 years ago |
Luke Dashjr
|
ef4c0504a0
Bugfix: bitforce: XLINK: Avoid trying to send 0 bytes after each write
|
12 years ago |
Luke Dashjr
|
ab883d97ba
bitforce: XLINK support for multiple processors
|
13 years ago |
Luke Dashjr
|
bd42d0132a
bitforce: Prepare log messages for XLINK by separating into proc and dev messages
|
13 years ago |
Luke Dashjr
|
0edc864537
bitforce: Always use fd/mutex pointers on actual device, to prepare for XLINK support
|
13 years ago |
Luke Dashjr
|
9a0ae675ea
bitforce: Get fd/mutex pointers only once per function
|
13 years ago |
Luke Dashjr
|
8828eaeb60
bitforce: Abstract commands to bitforce_cmd1 (single-stage) and bitforce_cmd2 (double-stage) functions
|
13 years ago |
Luke Dashjr
|
eaa48af7d2
bitforce: Debuglog device information during detection
|
13 years ago |
Luke Dashjr
|
13c096da11
Bugfix: Use SOCKETTYPE for notifiers, to avoid potential overflow on Win64
|
13 years ago |
Luke Dashjr
|
70560c6277
Bugfix: Missing includes needed on Windows
|
13 years ago |
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 |