* 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:
drbob 2008-08-25 20:03:39 +00:00
parent f243e5f6d3
commit d62876ae37
5 changed files with 101 additions and 18 deletions

View file

@ -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
}
}
}