usb_applog separate amt display
libusb_control_transfer 16 bit words are endian specific.
Merge pull request #431 from kanoi/master

usb_applog separate amt display
Merge branch 'master' of github.com:ckolivas/cgminer
Set pool->probed to true after an attempt to resolve the url via stratum code.
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().
All stratum calls to recv_line are serialised from the one place so there is no need to use locking around recv().
Use a persistent single separate thread for stratum share submission that uses workqueues since all stratum sends are serialised.
Merge branch 'master' into avalon-dev