Con Kolivas
|
f8fdff4ad2
Use cancellable usb transfers in the icarus driver to avoid having to loop and poll when waiting for a response and to speed up work restart response time.
|
12 years ago |
Con Kolivas
|
2b998936fe
Add a usb_read_ii_timeout_cancellable wrapper
|
12 years ago |
Con Kolivas
|
9d8e3df0a8
Add usb transfer cancellation on shutdown and documentation regarding where cancellable transfers are suitable.
|
12 years ago |
Con Kolivas
|
eb5b611483
Use cancellable transfers on bitfury device.
|
12 years ago |
Con Kolivas
|
d2feacdfb2
Cancel cancellable usb transfers on work restart messages.
|
12 years ago |
Con Kolivas
|
51660838da
Don't bother having a separate cancellable transfer struct for usb transfers, simply include the list in the usb_transfer struct.
|
12 years ago |
Con Kolivas
|
c96f096577
Add wrappers for usb_read_cancellable and usb_read_timeout_cancellable
|
12 years ago |
Con Kolivas
|
c2c6987784
Specifically set the cancellable state for it to not be uninitialised in the usb transfer struct.
|
12 years ago |
Con Kolivas
|
b52bb5c9e2
Alter the usb cancellable list only under cgusb_fd_lock write lock.
|
12 years ago |
Con Kolivas
|
19ec360f7c
Pass the cancellable option to _usb_read options to decide on whether to add usb transfers to the list of cancellable transfers.
|
12 years ago |
Con Kolivas
|
2b075cccbf
Create a linked list of potentially cancellable usb transfers.
|
12 years ago |
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
|
251b71ba3f
Merge branch 'master' of github.com:ckolivas/cgminer
|
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
|
824aa5cb51
Keep a global counter of how many async usb transfers are in place.
|
12 years ago |
Con Kolivas
|
856471e392
Perform libusb_submit_transfer under the write variant of cgusb_fd_lock
|
12 years ago |
kanoi
|
3c2647d4b5
Merge pull request #511 from kanoi/master
|
12 years ago |
Kano
|
8437805f5c
klondike - error condition handling
|
12 years ago |
Con Kolivas
|
4f7b6fe4c3
Avoid entering static libusb directory if --with-system-libusb is enabled.
|
12 years ago |
Con Kolivas
|
e76421320e
Minor opencl build corrections.
|
12 years ago |
Con Kolivas
|
ed16f32d8f
Enable dynamic linking against system libusb --with-system-libusb
|
12 years ago |
Con Kolivas
|
9fa8e920c7
Modify Makefile to only include opencl related code when configured in.
|
12 years ago |
Con Kolivas
|
05478b5937
Convert opencl to need to be explicitly enabled during build with --enable-opencl
|
12 years ago |
Con Kolivas
|
d2719e312f
Implement a cglock_destroy function.
|
12 years ago |
Con Kolivas
|
de4ad515e0
Implement a rwlock_destroy function.
|
12 years ago |
Con Kolivas
|
6bd5139cfc
Implement a mutex_destroy function.
|
12 years ago |
Con Kolivas
|
269a145a70
Add usb command name to critical libusb error reporting.
|
12 years ago |
Con Kolivas
|
ce61b9b060
Merge branch 'master' of github.com:ckolivas/cgminer
|
12 years ago |
Con Kolivas
|
8dcbc86b97
Use windows' own higher resolution time and handlers allowing us to have higher precision absolute timeouts.
|
12 years ago |
Con Kolivas
|
563cad189e
Fix lldiv error in windows cgminer_t calculation.
|
12 years ago |