Skip to content
Snippets Groups Projects
Commit bc67bcb2 authored by Julien Malik's avatar Julien Malik
Browse files

COMP: don't use OpenThreads outside of OTB cxx

parent eac5c2b9
No related branches found
No related tags found
No related merge requests found
......@@ -19,10 +19,10 @@
#include <fstream>
#include <cstdlib>
#include <OpenThreads/Thread>
#include "otbCoordinateToName.h"
#include "otbCurlHelperStub.h"
#include "otbThreads.h"
int otbCoordinateToNameTest(int argc, char* argv[])
{
......@@ -49,7 +49,7 @@ int otbCoordinateToNameTest(int argc, char* argv[])
{
conv->MultithreadOn();
conv->Evaluate();
OpenThreads::Thread::microSleep(10000000); //Make sure that the web request has the time to complete
otb::Threads::Sleep(10000000); //Make sure that the web request has the time to complete
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment