1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00
Commit Graph

5892 Commits

Author SHA1 Message Date
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
Con Kolivas
f5baf9f57a Merge branch 'master' into hashfast
Conflicts:
	usbutils.h
2013-10-18 19:12:13 +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
kanoi
920c0bd908 Merge pull request #507 from kanoi/master
API add 'MHS %ds' to 'summary'
2013-10-17 01:46:24 -07:00
Kano
55e233d52c API add 'MHS %ds' to 'summary' 2013-10-17 19:45:20 +11:00
Con Kolivas
103bc0bafe Revert to using timeouts on !linux since libusb leaks memory without them. 2013-10-17 18:52:07 +11:00
kanoi
bf810a10c6 Merge pull request #506 from kanoi/master
optional lock reporting in the API and klondike work redesign
2013-10-17 00:37:15 -07:00
Kano
c2073f0944 Optional lock tracking and stats via the API 2013-10-17 16:14:45 +11:00
Con Kolivas
74a4ccba28 Bump version to 3.6.2 2013-10-17 08:31:29 +11:00
Con Kolivas
eac5d49df4 Update NEWS. 2013-10-17 08:31:24 +11:00
Con Kolivas
65b130cda1 Remove unused components of jansson 2013-10-17 08:31:19 +11:00
Con Kolivas
4ed54d8c46 Remove unused parts of libusb
Conflicts:
	compat/libusb-1.0/doc/Makefile.am
	compat/libusb-1.0/doc/doxygen.cfg.in
	compat/libusb-1.0/examples/Makefile.am
	compat/libusb-1.0/examples/dpfp.c
	compat/libusb-1.0/examples/dpfp_threaded.c
	compat/libusb-1.0/examples/hotplugtest.c
	compat/libusb-1.0/examples/listdevs.c
	compat/libusb-1.0/examples/sam3u_benchmark.c
2013-10-17 08:30:59 +11:00
Con Kolivas
539f2c35d0 Work around older libtoolize that fails without top ltmain.sh not being present during autogen 2013-10-17 08:29:49 +11:00
Con Kolivas
40034ba1a2 Add m4 directory to jansson 2013-10-17 08:29:41 +11:00
Con Kolivas
ec4dfc5e65 Fix open coded use of autoreconf in autogen 2013-10-17 08:29:37 +11:00
Con Kolivas
77cffa2f40 Update jansson to only build parts we require and suited to our build environment. 2013-10-17 08:29:31 +11:00
Con Kolivas
d529a3fdbd Initial import of jansson-2.5 2013-10-17 08:29:24 +11:00
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. 2013-10-17 08:29:02 +11:00
Con Kolivas
bec75b61a6 Make the USB polling thread poll every second to potentially aid longer timeout transfers. 2013-10-17 08:28:57 +11:00
ckolivas
f821d0fbf3 Set device_diff on work in get_work to not be missed with drivers that use get_work directly. 2013-10-17 08:28:49 +11:00
ckolivas
330e64282e Convert icarus driver to hash_driver_work model. 2013-10-17 08:28:40 +11:00
Kano
addb8481c3 bflsc - also allow ' 0' in DEVICES IN CHAIN 2013-10-17 08:28:34 +11:00
Kano
8455cc3f77 bflsc - allow a 0 in DEVICES IN CHAIN 2013-10-17 08:28:29 +11:00
Con Kolivas
c70cea274c Bump version to 3.6.2 2013-10-17 00:19:12 +11:00
Con Kolivas
a461a9129d Update NEWS. 2013-10-17 00:16:39 +11:00
Con Kolivas
7a32a7b808 Remove unused components of jansson 2013-10-16 23:31:11 +11:00
Con Kolivas
b84166e42d Remove unused parts of libusb 2013-10-16 23:28:21 +11:00
Con Kolivas
84382e1021 Work around older libtoolize that fails without top ltmain.sh not being present during autogen 2013-10-16 23:17:55 +11:00