LeechCore
LeechCore copied to clipboard
Performance regression on linux due to thread suspend in usleep()
On Windows LeechCore is using a custom usleep function which does not cause a thread suspend. On Linux the regular usleep() function is used which causes a thread suspend and doesn't guarantee to return instantly after the amount of time has passed.
Edit: after further testing the performance improvement seemed to be just a few % but still valuable :+1: