Closed 00cpxxx closed 5 years ago
Usually it is x / 1000 not * 1000. Anyway the sleep function is not called in the code so it is safe to remove IMO. Please double check.
Sleep() takes milliseconds, sleep() takes seconds, so multiplying is correct. Maybe you're thinking of usleep()?
But yes, it is unused.
e: And it is incorrect, though for another reason - sleep(2+2) would end up sleeping for 2+2*1000 = 2002 milliseconds.
Sleep() takes milliseconds, sleep() takes seconds, so multiplying is correct. Maybe you're thinking of usleep()? But yes, it is unused. e: And it is incorrect, though for another reason - sleep(2+2) would end up sleeping for 2+2*1000 = 2002 milliseconds.
My bad, you are correct!
Usually it is x / 1000 not * 1000. Anyway the sleep function is not called in the code so it is safe to remove IMO. Please double check.