summaryrefslogtreecommitdiffstats
path: root/test/src/test-sockets.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-08-13 13:29:38 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-08-13 13:29:38 (GMT)
commitfe941ab36b44f083886c07a72d371b2cfba55fe3 (patch)
tree2dfe945f5b0b4272f573cda18f24caa623c122c7 /test/src/test-sockets.cpp
parent02f52d15e7df2500c0c6e96660a43a985add16e8 (diff)
downloaduscxml-fe941ab36b44f083886c07a72d371b2cfba55fe3.zip
uscxml-fe941ab36b44f083886c07a72d371b2cfba55fe3.tar.gz
uscxml-fe941ab36b44f083886c07a72d371b2cfba55fe3.tar.bz2
Build on Linux and Windows again
Diffstat (limited to 'test/src/test-sockets.cpp')
-rw-r--r--test/src/test-sockets.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/test-sockets.cpp b/test/src/test-sockets.cpp
index ad567f7..993aaff 100644
--- a/test/src/test-sockets.cpp
+++ b/test/src/test-sockets.cpp
@@ -87,7 +87,7 @@ int main(int argc, char** argv) {
client.write(contentSS.str());
while(packetSeq != iterations)
- usleep(10000);
+ tthread::this_thread::sleep_for(tthread::chrono::milliseconds(20));
}
if (1) {
@@ -105,7 +105,7 @@ int main(int argc, char** argv) {
}
while(packetSeq != iterations)
- usleep(10000);
+ tthread::this_thread::sleep_for(tthread::chrono::milliseconds(20));
}
exit(0);