mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
* fixes for windows
* corrected allocation in ftfilecreator git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@707 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f243e5f6d3
commit
d62876ae37
5 changed files with 101 additions and 18 deletions
|
@ -61,8 +61,12 @@ void ftExtraList::run()
|
|||
/* Hash a file */
|
||||
hashAFile();
|
||||
|
||||
#ifdef WIN32
|
||||
Sleep(1);
|
||||
#else
|
||||
/* microsleep */
|
||||
usleep(10);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -74,7 +78,11 @@ void ftExtraList::run()
|
|||
}
|
||||
|
||||
/* sleep */
|
||||
#ifdef WIN32
|
||||
Sleep(1000);
|
||||
#else
|
||||
sleep(1);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue