Commit History

Author SHA1 Message Date
  Con Kolivas 691a681f7e Remove inappropriate extra locking in _usb_transfer_read 12 years ago
  Con Kolivas 0657b64e38 Only set libusb cancellable status if the transfer succeeds. 12 years ago
  Con Kolivas 0da551fac1 Use a linked list for all usb transfers instead of just cancellable ones. 12 years ago
  Con Kolivas 7b5884caa5 Add cancellable transfers correctly to the ct_list 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 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 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
  Con Kolivas 269a145a70 Add usb command name to critical libusb error reporting. 12 years ago
  Con Kolivas 44cc52c3d0 Drop usb buffering message to debug logging level. 12 years ago
  Con Kolivas eed0afcd04 Convert libusb transfer errors to regular libusb error messages to allow for accurate message reporting. 12 years ago
  Con Kolivas d77f367279 Fixing the memory leak for remaining semaphores means we can go back to using async transfers on other OSes with our own timeout management again. 12 years ago
  Con Kolivas 8e9f32a81b Add a forcelog variant of applog which invalidates any console lock to force output. 12 years ago
  Con Kolivas 789d448e84 Perform sync transfers on shutdown to allow final transfers to complete. 12 years ago
  Con Kolivas ad8d94979f Destroy cgsems used after transfers to not leave open files on osx. 12 years ago
  Con Kolivas 103bc0bafe Revert to using timeouts on !linux since libusb leaks memory without them. 12 years ago
  Con Kolivas 955e971d3d Prevent further USB transfers from occurring once the shutdown signal has been sent to prevent transfers getting stuck and libusb failing to shut down. 12 years ago
  Con Kolivas 7c6bd4a8fb Emulate the libusb_control_transfer sync setup in our async variant. 12 years ago
  Con Kolivas e6280c85d2 Add the libusb control setup size offset for control writes. 12 years ago
  Con Kolivas 91d1d104d1 Merge branch 'master' of github.com:ckolivas/cgminer 12 years ago
  Con Kolivas 8fdaeb0ac9 Differentiate send from receive in control transfers! 12 years ago
  kanoi bae0815edf Merge pull request #505 from kanoi/master 12 years ago
  Kano 108e73763b usbutils - make all libusb_error_name messages the same 12 years ago
  Con Kolivas 9e287f9598 Merge pull request #499 from someone42/master 12 years ago