libtorrent icon indicating copy to clipboard operation
libtorrent copied to clipboard

Replace usleep with C++11's sleep_for

Open neheb opened this issue 6 years ago • 2 comments

usleep is deprecated and replaced by nanosleep in POSIX 2008.

sleep_for is standard C++11 and internally uses nanosleep.

neheb avatar Aug 23 '19 20:08 neheb

Build failure seems unrelated.

neheb avatar Aug 23 '19 22:08 neheb

Rebased.

neheb avatar Jan 25 '20 23:01 neheb