Con Kolivas
|
166200c094
Windows uses errno for WSAETIMEDOUT
|
12 years ago |
Con Kolivas
|
02a4f8df9c
Convert the usb callback function to using cgsem_t timed waits to avoid race conditions with conditionals/mutexes.
|
12 years ago |
Con Kolivas
|
c9c39ac14d
Give correct return code in cgsem_mswait
|
12 years ago |
Con Kolivas
|
1d9f90b256
Revert "Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals."
|
12 years ago |
Con Kolivas
|
433465bcfc
Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals.
|
12 years ago |
Con Kolivas
|
6e948d8750
Check for correct timeout error in cgsem_mswait
|
12 years ago |
Con Kolivas
|
51f8107b32
Fix util.h exports for cgsem_mswait
|
12 years ago |
Con Kolivas
|
c75ce853a9
Implement a generic cgsem_mswait similar to sem_timedwait
|
12 years ago |
Con Kolivas
|
9ca22ed493
Use the one LIBUSB_ERROR_TIMEOUT for cancelled transactions since this error is explicitly tested for in various drivers.
|
12 years ago |
Con Kolivas
|
a7580f1ff2
Do not use locking on usb callback function pthread signalling to prevent deadlock with libusb's own event lock.
|
12 years ago |
Con Kolivas
|
280dc4bf01
Lock mutex before second pthread_cond_wait in usbutils to prevent a race.
|
12 years ago |
Con Kolivas
|
84de52c1c6
Use a write lock when performing any USB control transfers to prevent concurrent transfers.
|
12 years ago |
Luke Dashjr
|
e5c8054b78
Merge commit '9459f1b' into bfgminer
|
12 years ago |
Luke Dashjr
|
9459f1b6e9
littlefury: Workaround Xcode bug initialising fields in anonymous unions
|
12 years ago |
Luke Dashjr
|
6f1db36fc9
Merge commit 'f066796' into bfgminer
|
12 years ago |
Luke Dashjr
|
f066796257
Bugfix: write_config: Make intensity list writing more readable, and avoid extraneous argument in dynamic intensity case
|
12 years ago |
Con Kolivas
|
c069028648
Free a libusb transfer after we have finished using it to avoid a dereference in usb_control_transfer
|
12 years ago |
Con Kolivas
|
578fabe07c
Do not perform bfi int patching for opencl1.2 or later.
|
12 years ago |
Luke Dashjr
|
6422e2d9c1
Merge commit 'a12a057' into bfgminer
|
12 years ago |
Con Kolivas
|
84f642f563
Although async transfers are meant to use heap memory, we never return before the transfer function has completed so stack memory will suffice for control transfers, fixing a memory leak in the process.
|
12 years ago |
Luke Dashjr
|
a12a057f3a
DevAPI: Trigger mt_disable_start after init, if a device is disabled before minerloop starts
|
12 years ago |
Luke Dashjr
|
59f37175d6
icarus: Skip sending new work if entering DEV_RECOVER* modes
|
12 years ago |
Luke Dashjr
|
20df39172c
Merge commit '5a9cd98' into bfgminer
|
12 years ago |
Luke Dashjr
|
5a9cd9831c
icarus: When disabling, close device fd and stop sending new work
|
12 years ago |
Luke Dashjr
|
77053d00bb
RPC: Use get_api_extra_device_status for full-device status, for devices with only a single processor
|
12 years ago |
Kano
|
16bd0a0d9c
klondike - correct/reverse min/max stats
|
12 years ago |
Kano
|
da7223f1b4
api incorrect message name
|
12 years ago |
Kano
|
f1d77f17a3
klondike - use a link list queue rather than a circular buffer - and add timing stats
|
12 years ago |
Con Kolivas
|
56edabc64d
Use a timeout with usb handle events set to a nominal 200ms and wait for the polling thread to shut down before deinitialising libusb.
|
12 years ago |
Con Kolivas
|
9f8023a959
Use stack memory for hex used in stratum share submissions.
|
12 years ago |