X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1949659f831eb3dbfd933812d954a7611b391c1e..471a8ddb278cb5621e36a6c45e450d40580e50fd:/projects/sgauthstress/main.cpp?ds=sidebyside

diff --git a/projects/sgauthstress/main.cpp b/projects/sgauthstress/main.cpp
index 2388254d..b0819c3c 100644
--- 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)
     {
-    usleep(200000);
+    struct timespec ts = {0, 200000000};
+    nanosleep(&ts, NULL);
     }
 
 proto.Stop();