mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-22 16:06:30 -05:00
Add bandwidth limit feature --bw-limit
This commit is contained in:
parent
15a5fac6e9
commit
5886923bb1
19 changed files with 205 additions and 5 deletions
|
|
@ -1554,6 +1554,11 @@ void windows_sleep(unsigned seconds)
|
|||
Sleep(seconds * 1000);
|
||||
}
|
||||
|
||||
void windows_usleep(uint64_t useconds)
|
||||
{
|
||||
Sleep(useconds / 1000);
|
||||
}
|
||||
|
||||
int windows_link(const char* existing, const char* file)
|
||||
{
|
||||
wchar_t conv_buf_file[CONV_MAX];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue