mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 23:00:56 -04:00
replaced usleep() by rstime::rs_usleep() which accepts times >= 1 sec. Should fix problems on windows
This commit is contained in:
parent
c1fccef53b
commit
d0039241d3
28 changed files with 134 additions and 100 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "retroshare/rsiface.h"
|
||||
#include "retroshare/rsgxsforums.h"
|
||||
#include "util/rsstring.h"
|
||||
#include "util/rstime.h"
|
||||
#include "gxs/rsgenexchange.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
@ -2240,7 +2241,7 @@ bool p3FeedReader::waitForToken(uint32_t token)
|
|||
break;
|
||||
}
|
||||
|
||||
usleep(500 * 1000); // sleep for 500 msec
|
||||
rstime::rs_usleep(500 * 1000); // sleep for 500 msec
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue