Permalink
Browse files

Drake says we actually wanna doing this.

  • Loading branch information...
Lirusaito committed May 11, 2016
1 parent f89a5aa commit c161a479700bb0244fdb04993aa6157ef84589af
Showing with 2 additions and 2 deletions.
  1. +2 −2 indra/llprimitive/llmodelloader.cpp
@@ -31,7 +31,7 @@
#include "llmatrix4a.h"
#include <boost/bind.hpp>
-#include <thread>
+#include "apr_time.h"
std::list<LLModelLoader*> LLModelLoader::sActiveLoaderList;
@@ -459,7 +459,7 @@ void LLModelLoader::loadModelCallback()
while (!isStopped())
{ //wait until this thread is stopped before deleting self
- std::this_thread::sleep_for(std::chrono::microseconds(100));
+ apr_sleep(100);
}
//double check if "this" is valid before deleting it, in case it is aborted during running.

0 comments on commit c161a47

Please sign in to comment.