mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-11-03 04:17:20 -05:00
Timing fixes
svn path=/trunk/thread/; revision=3808
This commit is contained in:
parent
30577a1391
commit
815158a582
@ -568,7 +568,7 @@ void thread_sleep(unsigned long len)
|
||||
struct timeval tv;
|
||||
|
||||
tv.tv_sec = len / 1000000;
|
||||
tv.tv_usec = (len % 1000000) / 1000;
|
||||
tv.tv_usec = (len % 1000000);
|
||||
|
||||
select(0, NULL, NULL, NULL, &tv);
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user