#include <simgear/io/HTTPRequest.hxx>
#include <simgear/io/sg_netChannel.hxx>
#include <simgear/misc/strutils.hxx>
-#include <simgear/misc/sg_sleep.hxx>
+#include <simgear/timing/timestamp.hxx>
using namespace simgear;
using std::cout;
while (!req->complete()) {
cl.update();
- sleepForMSec(100);
+ SGTimeStamp::sleepForMSec(100);
}
if (req->responseCode() != 200) {
#include <simgear/io/sg_netChat.hxx>
#include <simgear/misc/strutils.hxx>
#include <simgear/timing/timestamp.hxx>
-#include <simgear/misc/sg_sleep.hxx>
using std::cout;
using std::cerr;
if (tr->complete) {
return;
}
- sleepForMSec(1);
+ SGTimeStamp::sleepForMSec(1);
}
cerr << "timed out" << endl;
if (tr->failed) {
return;
}
- sleepForMSec(1);
+ SGTimeStamp::sleepForMSec(1);
}
cerr << "timed out waiting for failure" << endl;