1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 06:48:05 +00:00
Commit Graph

5370 Commits

Author SHA1 Message Date
Con Kolivas
251b71ba3f Merge branch 'master' of github.com:ckolivas/cgminer 2013-10-24 20:42:39 +11:00
Con Kolivas
81dfe60d36 Keep the libusb event handle polling thread active until there are no async usb transfers in progress. 2013-10-24 20:41:55 +11:00
Con Kolivas
824aa5cb51 Keep a global counter of how many async usb transfers are in place. 2013-10-24 20:36:53 +11:00
Con Kolivas
856471e392 Perform libusb_submit_transfer under the write variant of cgusb_fd_lock 2013-10-24 20:32:17 +11:00
kanoi
3c2647d4b5 Merge pull request #511 from kanoi/master
klondike - error condition handling
2013-10-23 14:14:11 -07:00
Kano
8437805f5c klondike - error condition handling 2013-10-24 03:44:04 +11:00
Con Kolivas
4f7b6fe4c3 Avoid entering static libusb directory if --with-system-libusb is enabled. 2013-10-23 22:40:13 +11:00
Con Kolivas
e76421320e Minor opencl build corrections. 2013-10-23 22:31:00 +11:00
Con Kolivas
ed16f32d8f Enable dynamic linking against system libusb --with-system-libusb 2013-10-23 22:24:58 +11:00
Con Kolivas
9fa8e920c7 Modify Makefile to only include opencl related code when configured in. 2013-10-23 21:29:42 +11:00
Con Kolivas
05478b5937 Convert opencl to need to be explicitly enabled during build with --enable-opencl 2013-10-23 21:19:03 +11:00
Con Kolivas
d2719e312f Implement a cglock_destroy function. 2013-10-23 20:41:12 +11:00
Con Kolivas
de4ad515e0 Implement a rwlock_destroy function. 2013-10-23 20:41:04 +11:00
Con Kolivas
6bd5139cfc Implement a mutex_destroy function. 2013-10-23 20:40:52 +11:00
Con Kolivas
269a145a70 Add usb command name to critical libusb error reporting. 2013-10-23 10:45:22 +11:00
Con Kolivas
ce61b9b060 Merge branch 'master' of github.com:ckolivas/cgminer 2013-10-23 10:19:48 +11:00
Con Kolivas
8dcbc86b97 Use windows' own higher resolution time and handlers allowing us to have higher precision absolute timeouts. 2013-10-23 10:19:04 +11:00
Con Kolivas
563cad189e Fix lldiv error in windows cgminer_t calculation. 2013-10-23 09:13:50 +11:00
Kano
9932c95569 miner.php correct sort gen field names largest to smallest 2013-10-22 19:30:03 +11:00
Kano
d9449b2578 api ... the code related to device elapsed 2013-10-22 19:27:44 +11:00
Kano
cac7cdb25e api add device elapsed since hotplug devices Elapsed is less than cgminer Elapsed 2013-10-22 10:28:45 +11:00
Con Kolivas
44cc52c3d0 Drop usb buffering message to debug logging level. 2013-10-21 12:19:11 +11:00
Con Kolivas
273b04be62 Do the ntime binary modification to the work struct when submitting an ntime offset nonce within submit_noffset_nonce 2013-10-20 13:23:11 +11:00
Con Kolivas
eed0afcd04 Convert libusb transfer errors to regular libusb error messages to allow for accurate message reporting. 2013-10-19 13:29:59 +11:00
Con Kolivas
43699c76b7 Bump version to 3.6.4 2013-10-18 23:45:41 +11:00
Con Kolivas
d58f2f0faa Update NEWS. 2013-10-18 23:45:19 +11:00
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. 2013-10-18 23:42:02 +11:00
Con Kolivas
06776af000 Use the forcelog function on shutdown to cope with indeterminate console lock states due to killing of threads. 2013-10-18 23:34:55 +11:00
Con Kolivas
8e9f32a81b Add a forcelog variant of applog which invalidates any console lock to force output. 2013-10-18 23:30:05 +11:00
Con Kolivas
3956382450 Send pthread_cancel to failed completion_timeout that has timed out. 2013-10-18 22:04:21 +11:00
ckolivas
680f014c85 Simplify queued hashtable by storing unqueued work separately in a single pointer. 2013-10-18 14:58:33 +11:00
Kano
dfa849ab62 bflsc use getinfo chip parallelization if it is present 2013-10-18 10:56:05 +11:00
Kano
4aa84abba5 bflsc - fix brackets so [Chips] isn't always null 2013-10-18 10:55:42 +11:00
ckolivas
7838af1dc1 Remove unused variables. 2013-10-18 10:51:44 +11:00
ckolivas
40821d1f11 Use cgcompletion timeouts for the unreliable shutdown functions on kill_work. 2013-10-18 10:44:56 +11:00
ckolivas
0430165f7b Fix cgcompletion return code and free on successful completion. 2013-10-18 10:26:31 +11:00
ckolivas
f826e35765 Provide a cg_completion_timeout helper function for unreliable functions that takes arbitrary functions and parameters and reliably returns. 2013-10-18 10:14:51 +11:00
kanoi
b1fc68b5f0 Merge pull request #508 from kanoi/master
klondike rewrite work control
2013-10-17 13:54:44 -07:00
Con Kolivas
789d448e84 Perform sync transfers on shutdown to allow final transfers to complete. 2013-10-18 07:05:35 +11:00
Con Kolivas
011f2d30ae Merge branch 'master' of github.com:ckolivas/cgminer 2013-10-18 06:56:13 +11:00
Con Kolivas
ad8d94979f Destroy cgsems used after transfers to not leave open files on osx. 2013-10-18 06:55:30 +11:00
Kano
03d9f56a9d klondike rewrite work control 2013-10-18 01:04:20 +11:00
Kano
c9adb1929c allow __work_complete() access 2013-10-18 00:54:37 +11:00
Kano
3fc7ff45e4 miner.h allow devices to tv_stamp work 2013-10-18 00:47:07 +11:00
Con Kolivas
06ed3e381b Bump version to 3.6.3 2013-10-17 20:32:56 +11:00
Con Kolivas
4b443961a2 Update NEWS 2013-10-17 20:30:11 +11:00
Con Kolivas
c04f3bf3bc Merge branch 'master' into mergelibusb 2013-10-17 20:27:35 +11:00
Kano
514b3c424f API add 'MHS %ds' to 'summary' 2013-10-17 20:24:09 +11:00
Kano
d3d3fc1316 Optional lock tracking and stats via the API 2013-10-17 20:24:02 +11:00
Con Kolivas
685c2acecd Speed up polling repeat again in usb poll thread and handle async after the message to disable polling is complete. 2013-10-17 20:03:31 +11:00