suprminer
suprminer copied to clipboard
Fix sleep call for compatibility
already fixed in another commit
but it's still there, so please merge
sleep(1) will sleep for 1 second. usleep will sleep for 1ms. We don't want to sleep so much
then usleep(1000) (it's microseconds, not milliseconds)
usleep(1) seems to be working good on the pool
do what you want, but remove Sleep() as it is windows-only ;-)
sed -i -e 's/Sleep(1)/usleep(1000)/g' ccminer.cpp
Does the trick for now...