diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-08-13 13:29:38 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-08-13 13:29:38 (GMT) |
commit | fe941ab36b44f083886c07a72d371b2cfba55fe3 (patch) | |
tree | 2dfe945f5b0b4272f573cda18f24caa623c122c7 /test/src/test-sockets.cpp | |
parent | 02f52d15e7df2500c0c6e96660a43a985add16e8 (diff) | |
download | uscxml-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.cpp | 4 |
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); |