1075 Commits (67f89efffcdd685de623c4e3c49aaae0ca804745)

Author SHA1 Message Date
Kano 84ffcbc51b Use mining start time for device MH/U calculations 11 years ago
Con Kolivas 24398bde03 cgsem_post after creating the thread info 11 years ago
ckolivas 9b2e517f30 Use cgsem structures instead of the flaky pings in the work queue to start mining threads and remove the unused thr_info_freeze function. 11 years ago
ckolivas b59c33800b Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them. 11 years ago
Con Kolivas dd5788762f Fix build for !curses 11 years ago
Con Kolivas 03305afbae Remove start device limitation on log window size to allow it to get larger with hotplugged devices. 11 years ago
Con Kolivas fc95c19165 Switch logsize after hotplugging a device. 11 years ago
Con Kolivas cc9223f041 Change switch_compact function name to switch_logsize to be used for other changes. 11 years ago
Con Kolivas 514491bd0e Only adjust cursor positions with curses locked. 11 years ago
Kano 12045aae55 devs display - fix GPU duplicate bug 11 years ago
Con Kolivas 5f2c4f13f9 Do not hotplug enable a device if devices have been specified and the hotplug device falls outside this range. 11 years ago
Con Kolivas 727184d6ef Change the --device parameter parsing and configuration to use ranges and comma separated values. 11 years ago
Kano 9b756d7316 devs display - show ZOMBIEs after all others 11 years ago
Con Kolivas c7ffa58b26 Check for pool_disabled in wait_lp_current 11 years ago
Con Kolivas 6fec07ab7e Check for pool enabled in cnx_needed. 11 years ago
Con Kolivas 6fa32c9246 Revert "Perform execv in a forked child process, waiting on the original to exit to allow resources to be released." 11 years ago
Con Kolivas 78d6bee137 Inverted sem_init logic. 11 years ago
Con Kolivas b0fa94d52a Perform execv in a forked child process, waiting on the original to exit to allow resources to be released. 11 years ago
Con Kolivas f4a9a8e60c Do avalon driver detection last as it will try to claim any similar device and they are not reliably detected. 11 years ago
Con Kolivas cc04d3abc7 Use a counting semaphore to signal the usb resource thread that it has work to do. 11 years ago
Con Kolivas 185cac3ee9 Set devices to disabled after they exit the hashing loops to prevent the watchdog thread from trying to act on them. 11 years ago
Con Kolivas 502c7bcb4e Add avalon driver to hotplug. 11 years ago
ckolivas 99b117be47 Scanhash functions perform driver shutdown so don't repeat it. 11 years ago
ckolivas 5b9cf0f077 Send the shutdown message to threads and do the thread shutdown functions before more forcefully sending pthread_cancel to threads. 11 years ago
Con Kolivas 6972ec62a7 Execute driver shutdown sequence during kill_work. 11 years ago
Kano 2f94ec8025 usb separate thread for resource locking and modified windows locking code 11 years ago
Con Kolivas 9650bfd6a3 Compile usbutils into avalon driver. 11 years ago
Con Kolivas 44736b3012 Make submit_nonce return a bool for whether it's a valid share or not. 11 years ago
Kano 1bb2cadfa6 thread shutdown is different on windows 11 years ago
Con Kolivas 000c01dcae Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays. 12 years ago
Con Kolivas a009f0422f Must unlock curses as well in logwin_update. 12 years ago
Con Kolivas 01fca3e756 Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays. 12 years ago
Con Kolivas bbb797067f Check for *pth dereference on pthread_join 12 years ago
Con Kolivas 04d530f36a Make mining threads report out during work submission. 12 years ago
Con Kolivas bb3b227b9b submit_work_async is no longer used directly by driver code. 12 years ago
Con Kolivas ecd03cefb7 Properly pthread_join miner threads on shutdown. 12 years ago
Con Kolivas 894a3d64f0 Properly pthread_join miner threads on shutdown. 12 years ago
Con Kolivas 3a2008ac61 Use a persistent single separate thread for stratum share submission that uses workqueues since all stratum sends are serialised. 12 years ago
Con Kolivas bd652a623e Only allow the mining thread to be cancelled when it is not within driver code, making for cleaner shutdown and allowing us to pthread_join the miner threads on kill_work(). 12 years ago
Con Kolivas 830f30ff2d Only allow the mining thread to be cancelled when it is not within driver code, making for cleaner shutdown and allowing us to pthread_join the miner threads on kill_work(). 12 years ago
Kano fac3bf8722 add icarus to hotplug 12 years ago
Kano 9f4a3a798d Update documentation for icarus switch to USB 12 years ago
Kano 6219f977f6 switch icarus configuration to usb 12 years ago
Con Kolivas 4efe9ca82e Attribute whatever stats we can get on untracked stratum shares based on current pool diff. 12 years ago
Con Kolivas 3f24653f56 Provide a --lowmem option which does not cache shares on failed submission to prevent low memory hardware (eg Avalon) from crashing. 12 years ago
Con Kolivas 1a7a87c2a6 Use a discrete device target for scrypt that dynamically changes to ensure we still report a work utility even if no shares are submitted such as in solo mining. 12 years ago
Con Kolivas 2fb6637b5a Make set_work_target a function to set a specified char as target for use elsewhere. 12 years ago
Con Kolivas 0b6ee62cc4 Further consolidate the hash regeneration between sha and scrypt doing it only once and always checking the share diff for both before submission. 12 years ago
Con Kolivas 9a76db8db9 Regenerate the hash before checking the share diff in hashtest(). 12 years ago
Con Kolivas 79dd9dfe13 Use a scantime of 30 seconds for scrypt if none is specified. 12 years ago