git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added unary versions of x2str ans unsigned2str.
[stg.git]
/
projects
/
sgauthstress
/
main.cpp
diff --git
a/projects/sgauthstress/main.cpp
b/projects/sgauthstress/main.cpp
index 2388254dab91257ae235d096dff7f2922717f547..b0819c3c016bad9a2e163c6c96cc70f250fef511 100644
(file)
--- a/
projects/sgauthstress/main.cpp
+++ b/
projects/sgauthstress/main.cpp
@@
-157,7
+157,8
@@
std::cout << "Successfully loaded " << proto.UserCount() << " users" << std::end
running = true;
while (running)
{
running = true;
while (running)
{
- usleep(200000);
+ struct timespec ts = {0, 200000000};
+ nanosleep(&ts, NULL);
}
proto.Stop();
}
proto.Stop();